From 08304075bed202ce8794fb24bf28121a10363418 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 11 Jan 2024 13:26:17 +0100 Subject: [PATCH] Fix old glitch-soc migration using removed `add_column_with_default` helper --- ...0180604000556_add_apply_to_mentions_flag_to_keyword_mutes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20180604000556_add_apply_to_mentions_flag_to_keyword_mutes.rb b/db/migrate/20180604000556_add_apply_to_mentions_flag_to_keyword_mutes.rb index 8078a07bf..563251b21 100644 --- a/db/migrate/20180604000556_add_apply_to_mentions_flag_to_keyword_mutes.rb +++ b/db/migrate/20180604000556_add_apply_to_mentions_flag_to_keyword_mutes.rb @@ -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