Add exclude_follows, exclude_localusers settings to custom_filter

This commit is contained in:
KMY 2023-07-14 12:16:08 +09:00
parent fb9dbfc866
commit 5a0483ed21
15 changed files with 77 additions and 22 deletions

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_07_06_031715) do
ActiveRecord::Schema.define(version: 2023_07_14_004824) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -446,7 +446,7 @@ ActiveRecord::Schema.define(version: 2023_07_06_031715) do
create_table "custom_filter_keywords", force: :cascade do |t|
t.bigint "custom_filter_id", null: false
t.text "keyword", default: "", null: false
t.boolean "whole_word", default: true, null: false
t.boolean "whole_word", default: false, null: false
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["custom_filter_id"], name: "index_custom_filter_keywords_on_custom_filter_id"
@ -469,6 +469,8 @@ ActiveRecord::Schema.define(version: 2023_07_06_031715) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "action", default: 0, null: false
t.boolean "exclude_follows", default: false, null: false
t.boolean "exclude_localusers", default: false, null: false
t.index ["account_id"], name: "index_custom_filters_on_account_id"
end
@ -1228,6 +1230,7 @@ ActiveRecord::Schema.define(version: 2023_07_06_031715) do
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, opclass: :text_pattern_ops, where: "(reset_password_token IS NOT NULL)"
t.index ["role_id"], name: "index_users_on_role_id", where: "(role_id IS NOT NULL)"
t.index ["unconfirmed_email"], name: "index_users_on_unconfirmed_email", where: "(unconfirmed_email IS NOT NULL)"
end
create_table "web_push_subscriptions", force: :cascade do |t|