20171123100727_change_roles_limit.rb

Updated... - Aleksandar Pavic, 2017-11-23 11:36

Download (239 Bytes)

 
1
class ChangeRolesLimit < ActiveRecord::Migration
2
  def self.up
3
    change_column :roles, :name, :string, :limit => 255, :default => ''
4
  end
5

    
6
  def self.down
7
    change_column :roles, :name, :string, :limit => 30, :default => ''
8
  end
9
end