Project

General

Profile

Patch #27625 » 20171123100727_change_roles_limit.rb

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

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

def self.down
change_column :roles, :name, :string, :limit => 30, :default => ''
end
end
(3-3/3)