gitlabhq/db/migrate/20120729131232_add_extern_auth_provider_to_users.rb

9 lines
235 B
Ruby
Raw Normal View History

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