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

  def down
    remove_index :email_addresses, :user_id
  end
end