parent
0767212284
commit
aec832e257
9 changed files with 29 additions and 97 deletions
|
@ -0,0 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class RemoveGroupAttrsFromAccounts < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
safety_assured do
|
||||
remove_column :accounts, :group_allow_private_message, :boolean
|
||||
remove_column :account_stats, :group_activitypub_count, :integer
|
||||
end
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_02_18_233621) do
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_02_27_033337) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
|
@ -98,7 +98,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_02_18_233621) do
|
|||
t.datetime "created_at", precision: nil, null: false
|
||||
t.datetime "updated_at", precision: nil, null: false
|
||||
t.datetime "last_status_at", precision: nil
|
||||
t.integer "group_activitypub_count"
|
||||
t.index ["account_id"], name: "index_account_stats_on_account_id", unique: true
|
||||
t.index ["last_status_at", "account_id"], name: "index_account_stats_on_last_status_at_and_account_id", order: { last_status_at: "DESC NULLS LAST" }
|
||||
end
|
||||
|
@ -189,7 +188,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_02_18_233621) do
|
|||
t.boolean "trendable"
|
||||
t.datetime "reviewed_at", precision: nil
|
||||
t.datetime "requested_review_at", precision: nil
|
||||
t.boolean "group_allow_private_message"
|
||||
t.integer "searchability", default: 2, null: false
|
||||
t.jsonb "settings"
|
||||
t.boolean "indexable", default: false, null: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue