summaryrefslogtreecommitdiffstats
path: root/db/migrate/20150113213955_add_email_addresses_user_id_index.rb
blob: 351696d9cf2bc7a84f33f6ad2bf2244c7663fa0d (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: false

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