mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:54:31 +08:00
7 lines
155 B
Ruby
7 lines
155 B
Ruby
class AddIndexesToEmailLogs < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_index :email_logs, :post_id
|
|
add_index :email_logs, :topic_id
|
|
end
|
|
end
|