rosa-build/db/migrate/20111023154130_add_global_r...

10 lines
211 B
Ruby
Raw Permalink Normal View History

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