Merge branch 'kb_development' into kb_migration
This commit is contained in:
commit
139030f230
16 changed files with 61 additions and 25 deletions
|
@ -8,6 +8,7 @@ class MoveUserSettings < ActiveRecord::Migration[6.1]
|
|||
default_searchability: 'default_searchability',
|
||||
default_sensitive: 'web.default_sensitive',
|
||||
default_language: 'default_language',
|
||||
public_post_to_unlisted: 'public_post_to_unlisted',
|
||||
noindex: 'noindex',
|
||||
theme: 'theme',
|
||||
trends: 'web.trends',
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class AddEmojiReactionsCountToStatusStats < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :status_stats, :emoji_reactions_count, :integer, null: false, default: 0
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2023_04_06_041523) do
|
||||
ActiveRecord::Schema.define(version: 2023_04_10_004651) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -933,6 +933,7 @@ ActiveRecord::Schema.define(version: 2023_04_06_041523) do
|
|||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "emoji_reactions"
|
||||
t.integer "emoji_reactions_count", default: 0, null: false
|
||||
t.index ["status_id"], name: "index_status_stats_on_status_id", unique: true
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue