mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 17:40:43 +08:00
PERF: add missing index on topic_links
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
class AddLinkPostIdIndexOnTopicLinks < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :topic_links, [:link_post_id, :reflection]
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user