mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
PERF: Add missing index on EmailLog#bounced
.
* Also remove index on `user_id_and_created_at` which isn't being used alot.
This commit is contained in:
parent
280c318c49
commit
6ede7c4623
@ -0,0 +1,6 @@
|
||||
class AddIndexEmailLogsOnBounced < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :email_logs, :bounced
|
||||
remove_index :email_logs, [:user_id, :created_at]
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user