mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
OPTIMIZATION: Add index to post_timings and adjust the query
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class CreatePostTimingsUserIndex < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :post_timings, :user_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user