mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add index for SearchLog#created_at.
Admin search logs filters by `created_at` so this will help.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddIndexCreatedAtOnSearchLogs < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :search_logs, :created_at
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user