diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-02 18:11:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02 18:11:13 +0200 |
commit | 70ddef2654a931827ce5e4323e3042365f6078f2 (patch) | |
tree | 05ed40d6d1b218a5131199c88d0c9cd1fa0091a0 /db/migrate | |
parent | ac6935b629f5e9cd07cca468a6f3588a6e585e25 (diff) |
Change trending hashtags to not disappear instantly after midnight (#11712)
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190901035623_add_max_score_to_tags.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20190901035623_add_max_score_to_tags.rb b/db/migrate/20190901035623_add_max_score_to_tags.rb new file mode 100644 index 000000000..f936e9871 --- /dev/null +++ b/db/migrate/20190901035623_add_max_score_to_tags.rb @@ -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 |