Sha256: 5c884e0c5f682791b4bfe070ebe4cac5647a8b8cd01d5486dc4181131e6fe052

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

class AddOmniauthToDevise < ActiveRecord::Migration
  def change
    add_index :users, :confirmation_token,   :unique => true
    add_column :users , :password_salt, :string
    
    create_table :authorizations do |t|
      t.string :provider
      t.string :uid
      t.integer :user_id
      t.string :token
      t.string :secret
      t.string :name
      t.string :link
      t.string :image_url

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
citygate-0.0.3 db/migrate/20120507112430_add_omniauth_to_devise.rb
citygate-0.0.2 db/migrate/20120507112430_add_omniauth_to_devise.rb
citygate-0.0.1 db/migrate/20120507112430_add_omniauth_to_devise.rb