2011-10-23 22:39:44 +01:00
|
|
|
class AddGlobalRoleToGroups < ActiveRecord::Migration
|
|
|
|
def self.up
|
2014-08-20 21:49:26 +01:00
|
|
|
add_column :groups, :global_role_id, :integer, references: nil
|
2011-10-23 22:39:44 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :groups, :global_role_id
|
|
|
|
end
|
|
|
|
end
|