mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add index for EmailLog#topic_id and EmailLog#post_id.
This commit is contained in:
6
db/migrate/20180111092141_add_indexes_to_email_logs.rb
Normal file
6
db/migrate/20180111092141_add_indexes_to_email_logs.rb
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user