socialforge/db/migrate/063_add_roles_permissions.rb

10 lines
181 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddRolesPermissions < ActiveRecord::Migration
def self.up
add_column :roles, :permissions, :text
end
def self.down
remove_column :roles, :permissions
end
end