Add index for `EmailLog#topic_id` and `EmailLog#post_id`.
This commit is contained in:
parent
afb18a5c41
commit
9c66473c4c
|
@ -0,0 +1,6 @@
|
|||
class AddIndexesToEmailLogs < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
add_index :email_logs, :post_id
|
||||
add_index :email_logs, :topic_id
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue