Merge commit '5a0483ed21' into kb_migration

This commit is contained in:
KMY 2023-07-14 12:17:32 +09:00
commit 7b735921dc
26 changed files with 204 additions and 50 deletions

View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
class AddExcludeOptionsToFilters < ActiveRecord::Migration[6.1]
def change
safety_assured do
add_column :custom_filters, :exclude_follows, :boolean, null: false, default: false
add_column :custom_filters, :exclude_localusers, :boolean, null: false, default: false
change_column_default :custom_filter_keywords, :whole_word, from: true, to: false
end
end
end