Sha256: 104877c092ba04ca213eab68f8cc13f3aaaa136edbe80a2b4435a3704a31ecc9

Contents?: true

Size: 537 Bytes

Versions: 18

Compression:

Stored size: 537 Bytes

Contents

class CreateAuthentications < ActiveRecord::Migration
  def self.up
    create_table :authentications do |t|
      t.integer :authenticatable_id
      t.string :authenticatable_type
      t.string :provider
      t.string :uid
      t.string :name
      t.string :nickname
      t.string :token
      t.string :secret
      t.text :raw_auth
      t.timestamps
    end
    add_index :authentications, [:authenticatable_id, :authenticatable_type], :name => 'authenticatable'
  end

  def self.down
    drop_table :authentications
  end
end

Version data entries

18 entries across 15 versions & 2 rubygems

Version Path
muck-auth-3.5.4 test/db/migrate/20110216045051_create_authentications.rb
muck-auth-3.5.4 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.5.3 test/db/migrate/20110216045051_create_authentications.rb
muck-auth-3.5.3 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.5.2 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.5.2 test/db/migrate/20110216045051_create_authentications.rb
muck-invites-3.4.1 test/db/migrate/20110216045051_create_authentications.rb
muck-auth-3.5.1 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.5.0 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.4.0 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.3.3 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.3.2 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.3.1 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.3.0 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.2.3 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.2.2 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.2.1 db/migrate/20110216045051_create_authentications.rb
muck-auth-3.2.0 db/migrate/20110216045051_create_authentications.rb