socialforge/db/migrate/059_add_roles_assignable.rb

10 lines
199 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddRolesAssignable < ActiveRecord::Migration
def self.up
add_column :roles, :assignable, :boolean, :default => true
end
def self.down
remove_column :roles, :assignable
end
end