PERF: add missing index on topic_links
This commit is contained in:
parent
985d0268de
commit
46c138fb12
|
@ -0,0 +1,5 @@
|
|||
class AddLinkPostIdIndexOnTopicLinks < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :topic_links, [:link_post_id, :reflection]
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue