Sha256: 4553ab526697318b98b3e29de0232d6e5b23c0cf39b05d60e109248602ae4eaf

Contents?: true

Size: 267 Bytes

Versions: 12

Compression:

Stored size: 267 Bytes

Contents

class AddProviderAndUidToAdmins < ActiveRecord::Migration
  def change
    add_column :admins, :provider, :string
    add_column :admins, :uid, :string
    add_column :admins, :g5_access_token, :string
    add_index :admins, [:provider, :uid], unique: true
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
devise_g5_authenticatable-0.3.0 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.2.5.beta spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.2.4 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.2.4.beta spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.2.3 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.2.2 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.2.1 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.2.0 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.1.3 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.1.2 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.1.1 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb
devise_g5_authenticatable-0.1.0 spec/dummy/db/migrate/20140113233821_add_provider_and_uid_to_admins.rb