Sha256: 79f6d36a2bfe1ccebdb4aa3c52221f017c19298544a0960182fa55655885c4af

Contents?: true

Size: 398 Bytes

Versions: 35

Compression:

Stored size: 398 Bytes

Contents

class CreateSocialAccount < ActiveRecord::Migration
  def up
    create_table :social_accounts, id: false do |t|
      t.uuid :id, primary_key: true
      t.string :social_id
      t.uuid :user_id
      t.column :provider, :string
      t.column :token, :string
      t.column :secret, :string
    end
    add_index :social_accounts, :id
  end

  def down
    drop_table :social_accounts
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
iugusdk-1.0.11 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.10 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.9 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.8 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.7 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.6 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.5 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.4 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.3 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.2 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.1 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.32 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.31 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.30 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.29 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.28 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.27 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.26 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.25 db/migrate/20120605142527_create_social_account.rb
iugusdk-1.0.0.alpha.24 db/migrate/20120605142527_create_social_account.rb