Add missing db index in debate.hot_score

This commit is contained in:
kikito
2015-09-07 08:51:56 +02:00
parent 5b671ce623
commit 5a1646d2ff
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddHotScoreIndexToDebates < ActiveRecord::Migration
def change
add_index(:debates, :hot_score)
end
end