mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +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
|