Files
Redmine/db/migrate/20150113213955_add_email_addresses_user_id_index.rb
Jean-Philippe Lang e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00

10 lines
183 B
Ruby

class AddEmailAddressesUserIdIndex < ActiveRecord::Migration
def up
add_index :email_addresses, :user_id
end
def down
remove_index :email_addresses, :user_id
end
end