mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 08:38:06 +01:00
Fix old glitch-soc migration using removed add_column_with_default
helper
This commit is contained in:
parent
23d8bd8ce1
commit
08304075be
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class AddApplyToMentionsFlagToKeywordMutes < ActiveRecord::Migration[5.2]
|
|||
|
||||
def up
|
||||
safety_assured do
|
||||
add_column_with_default :glitch_keyword_mutes, :apply_to_mentions, :boolean, allow_null: false, default: true
|
||||
add_column :glitch_keyword_mutes, :apply_to_mentions, :boolean, null: false, default: true
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue