mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
10 lines
256 B
Ruby
10 lines
256 B
Ruby
class AddOmniauthToUsers < ActiveRecord::Migration
|
|
def change
|
|
add_column :users, :provider, :string
|
|
add_index :users, :provider
|
|
add_column :users, :uid, :string
|
|
add_index :users, :uid
|
|
remove_column :users, :sso_id, :integer
|
|
end
|
|
end
|