PERF: add missing index on topic_links

This commit is contained in:
Sam Saffron 2015-04-23 02:07:24 +10:00
parent 985d0268de
commit 46c138fb12

View file

@ -0,0 +1,5 @@
class AddLinkPostIdIndexOnTopicLinks < ActiveRecord::Migration
def change
add_index :topic_links, [:link_post_id, :reflection]
end
end