gitlabhq/db/migrate/20120729131232_add_extern_auth_provider_to_users.rb

8 lines
235 B
Ruby

class AddExternAuthProviderToUsers < ActiveRecord::Migration
def change
add_column :users, :extern_uid, :string
add_column :users, :provider, :string
add_index :users, [:extern_uid, :provider], :unique => true
end
end