2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00
discourse/db/migrate/20180111092141_add_indexes_to_email_logs.rb

6 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