diff --git a/db/migrate/20230215074424_move_glitch_user_settings.rb b/db/migrate/20230215074424_move_glitch_user_settings.rb index e47a84ebce..48bb6f97e0 100644 --- a/db/migrate/20230215074424_move_glitch_user_settings.rb +++ b/db/migrate/20230215074424_move_glitch_user_settings.rb @@ -42,7 +42,7 @@ class MoveGlitchUserSettings < ActiveRecord::Migration[6.1] MAPPING.each do |legacy_key, new_key| value = previous_settings[legacy_key]&.value - next if value.blank? + next if value.nil? if value.is_a?(Hash) value.each do |nested_key, nested_value|