Project

General

Profile

Patch #27625 » 20171123100727_change_roles_limit.rb

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

 
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
(3-3/3)