mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
6ede7c4623
* Also remove index on `user_id_and_created_at` which isn't being used alot.
7 lines
177 B
Ruby
7 lines
177 B
Ruby
class AddIndexEmailLogsOnBounced < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_index :email_logs, :bounced
|
|
remove_index :email_logs, [:user_id, :created_at]
|
|
end
|
|
end
|