20120729131232_add_extern_auth_provider_to_users.rb 235 Bytes
Newer Older
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