Redmine/db/migrate/059_add_roles_assignable.rb

10 lines
199 B
Ruby
Raw Normal View History

class AddRolesAssignable < ActiveRecord::Migration
def self.up
add_column :roles, :assignable, :boolean, :default => true
end
def self.down
remove_column :roles, :assignable
end
end