Change: #955 フィルターアクションの「アカウント名だけを出し、本文は警告で隠す」を削除し、外観設定に移動 (#970)

* Remove: #955 フィルターのアクション`half_warn`

* Add: 「フィルター対象投稿の投稿者名やアイコンを表示する」設定

* Fix test
This commit is contained in:
KMY(雪あすか) 2025-01-23 19:18:40 +09:00 committed by GitHub
parent 22bf14e9f0
commit 67064de265
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 49 additions and 45 deletions

View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
class RemoveHalfWarnFilterOption < ActiveRecord::Migration[8.0]
class CustomFilter < ApplicationRecord; end
def up
CustomFilter.where(action: 2).in_batches.update_all(action: 0)
end
def down; end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_01_08_111200) do
ActiveRecord::Schema[8.0].define(version: 2025_01_23_091137) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_catalog.plpgsql"