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
|