mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-28 22:15:06 +01:00
Update schema/annotations after tag trend db/redis migrate (#33173)
This commit is contained in:
parent
0fcf227a92
commit
4934242aca
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user