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