Add emoji reaction option on status cleanup
This commit is contained in:
parent
3a1f268be2
commit
1a8e8f02dd
8 changed files with 41 additions and 6 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddMinEmojisToAccountStatusesCleanupPolicies < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :account_statuses_cleanup_policies, :min_emojis, :integer
|
||||
add_column :account_statuses_cleanup_policies, :keep_self_emoji, :boolean, default: true, null: false
|
||||
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_14_010523) do
|
||||
ActiveRecord::Schema.define(version: 2023_04_20_081634) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -117,6 +117,8 @@ ActiveRecord::Schema.define(version: 2023_04_14_010523) do
|
|||
t.integer "min_reblogs"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.integer "min_emojis"
|
||||
t.boolean "keep_self_emoji", default: true, null: false
|
||||
t.index ["account_id"], name: "index_account_statuses_cleanup_policies_on_account_id"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue