10 lines
181 B
Ruby
10 lines
181 B
Ruby
|
class AddRolesPermissions < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :roles, :permissions, :text
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :roles, :permissions
|
||
|
end
|
||
|
end
|