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
1 changed files with 5 additions and 0 deletions

View File

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