class SimpleMobileOauthMigration

Public Instance Methods

change() click to toggle source
# File lib/generators/templates/migration.rb, line 2
def change
  create_table :identities do |t|
    t.integer :identifiable_id
    t.string :identifiable_type
    t.string :image
    t.string :uid,       null: false
    t.string :provider,  null: false
    t.text :info

    t.timestamps
  end
end