Sha256: c83bbd3bd8ef6162a3a65563970bdc0c17bea813dd14f027a0917f4442d82616

Contents?: true

Size: 401 Bytes

Versions: 13

Compression:

Stored size: 401 Bytes

Contents

class AddOAuthFieldsToAccounts < ActiveRecord::Migration
  def change
    add_column :accounts, :provider, :string
    add_column :accounts, :uid, :integer
    add_index :accounts, :uid
    add_column :accounts, :name, :string
    add_column :accounts, :oauth_access_token, :string
    add_column :accounts, :oauth_refresh_token, :string
    add_column :accounts, :oauth_expires_at, :string
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bookingsync-engine-0.5.0 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.4.6 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.4.5 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.4.4 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.4.3 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.3.0 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.2.2 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.2.1 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.2.0 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.1.3 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.1.2 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.1.1 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
bookingsync-engine-0.1.0 spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb