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
|