Change trending hashtags to not disappear instantly after midnight (#11712)
This commit is contained in:
parent
ac6935b629
commit
70ddef2654
10 changed files with 179 additions and 37 deletions
6
db/migrate/20190901035623_add_max_score_to_tags.rb
Normal file
6
db/migrate/20190901035623_add_max_score_to_tags.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue