* Remove: #955 フィルターのアクション`half_warn` * Add: 「フィルター対象投稿の投稿者名やアイコンを表示する」設定 * Fix test
This commit is contained in:
parent
22bf14e9f0
commit
67064de265
19 changed files with 49 additions and 45 deletions
11
db/migrate/20250123091137_remove_half_warn_filter_option.rb
Normal file
11
db/migrate/20250123091137_remove_half_warn_filter_option.rb
Normal 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
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue