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

11 lines
221 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
2011-10-23 22:39:44 +01:00
class AddGlobalRoleToGroups < ActiveRecord::Migration
def self.up
add_column :groups, :global_role_id, :integer
end
def self.down
remove_column :groups, :global_role_id
end
end