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