1
0
Fork 0
forked from gitea/nas

Add emoji_reactions property to status api object

This commit is contained in:
KMY 2023-02-23 20:32:27 +09:00
parent 0ebf8b302d
commit 092f9916b0
7 changed files with 73 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class AddEmojiReactionsToStatusStats < ActiveRecord::Migration[6.1]
def change
add_column :status_stats, :emoji_reactions, :string
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_02_22_235218) do
ActiveRecord::Schema.define(version: 2023_02_23_102416) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -914,6 +914,7 @@ ActiveRecord::Schema.define(version: 2023_02_22_235218) do
t.bigint "favourites_count", default: 0, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "emoji_reactions"
t.index ["status_id"], name: "index_status_stats_on_status_id", unique: true
end