Skip to content

Commit

Permalink
Fix old glitch-soc migration using removed add_column_with_default
Browse files Browse the repository at this point in the history
…helper
  • Loading branch information
ClearlyClaire committed Jan 11, 2024
1 parent 23d8bd8 commit 0830407
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0830407

Please sign in to comment.