mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
10 lines
183 B
Ruby
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
|