mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
Add index for SearchLog#created_at
.
Admin search logs filters by `created_at` so this will help.
This commit is contained in:
parent
3aa32c3170
commit
cf9d8c1ad3
|
@ -0,0 +1,5 @@
|
|||
class AddIndexCreatedAtOnSearchLogs < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :search_logs, :created_at
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user