Change trending hashtags to not disappear instantly after midnight (#11712)

This commit is contained in:
Eugen Rochko
2019-09-02 18:11:13 +02:00
committed by GitHub
parent ac6935b629
commit 70ddef2654
10 changed files with 179 additions and 37 deletions

View File

@ -0,0 +1,6 @@
class AddMaxScoreToTags < ActiveRecord::Migration[5.2]
def change
add_column :tags, :max_score, :float
add_column :tags, :max_score_at, :datetime
end
end