mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
PERF: add missing index on topic_links
This commit is contained in:
parent
985d0268de
commit
46c138fb12
1 changed files with 5 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddLinkPostIdIndexOnTopicLinks < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :topic_links, [:link_post_id, :reflection]
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue