Merge commit 'fed859a7d6' into kb_migration

This commit is contained in:
KMY 2023-04-14 10:21:19 +09:00
commit d52daef203
9 changed files with 42 additions and 13 deletions

View file

@ -0,0 +1,5 @@
class AddEmojiReactionsCountPerAccountToStatusStats < ActiveRecord::Migration[6.1]
def change
add_column :status_stats, :emoji_reactions_count_per_account, :integer, null: false, default: 0
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2023_04_12_073021) do
ActiveRecord::Schema.define(version: 2023_04_14_010523) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -936,6 +936,7 @@ ActiveRecord::Schema.define(version: 2023_04_12_073021) do
t.string "emoji_reactions"
t.integer "emoji_reactions_count", default: 0, null: false
t.integer "test", default: 0, null: false
t.integer "emoji_reactions_count_per_account", default: 0, null: false
t.index ["status_id"], name: "index_status_stats_on_status_id", unique: true
end