Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20120729131232_add_extern_auth_provider_to_users.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d5e66ba4d3bc83d5c7d8d9f92dd1983b4e0e6dde (plain)
1
2
3
4
5
6
7
8
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