Update schema/annotations after tag trend db/redis migrate (#33173)

This commit is contained in:
Matt Jankowski 2024-12-04 12:55:56 -05:00 committed by GitHub
parent 0fcf227a92
commit 4934242aca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -5,11 +5,11 @@
# Table name: tag_trends
#
# id :bigint(8) not null, primary key
# tag_id :bigint(8) not null
# score :float default(0.0), not null
# rank :integer default(0), not null
# allowed :boolean default(FALSE), not null
# language :string
# language :string default(""), not null
# rank :integer default(0), not null
# score :float default(0.0), not null
# tag_id :bigint(8) not null
#
class TagTrend < ApplicationRecord
include RankedTrend

View file

@ -1085,7 +1085,7 @@ ActiveRecord::Schema[7.2].define(version: 2024_11_23_160722) do
t.float "score", default: 0.0, null: false
t.integer "rank", default: 0, null: false
t.boolean "allowed", default: false, null: false
t.string "language"
t.string "language", default: "", null: false
t.index ["tag_id", "language"], name: "index_tag_trends_on_tag_id_and_language", unique: true
end