add sort index to forum topics

This commit is contained in:
r888888888
2017-05-15 16:52:35 -07:00
parent 68a91feadc
commit 6bebc3f694

View File

@@ -0,0 +1,5 @@
class AddSortIndexesToForumTopics < ActiveRecord::Migration
def change
add_index :forum_topics, [:is_sticky, :updated_at]
end
end