mirror of
https://github.com/redmine/redmine.git
synced 2025-10-30 18:06:30 +01:00
10 lines
199 B
Ruby
10 lines
199 B
Ruby
|
|
class AddRolesAssignable < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
add_column :roles, :assignable, :boolean, :default => true
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
remove_column :roles, :assignable
|
||
|
|
end
|
||
|
|
end
|