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