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

10 lines
208 B
Ruby
Raw Normal View History

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