summaryrefslogtreecommitdiffstats
path: root/db/migrate/20150113213955_add_email_addresses_user_id_index.rb
blob: b57b362fa179609e1dcad4c3fec33281a42c73bf (plain)
1
2
3
4
5
6
7
8
9
class AddEmailAddressesUserIdIndex < ActiveRecord::Migration[4.2]
  def up
    add_index :email_addresses, :user_id
  end

  def down
    remove_index :email_addresses, :user_id
  end
end