From c0617f74cdadd9f96c8701158a35c5274d3f450a Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Mon, 23 Jun 2025 11:31:57 -0500 Subject: [PATCH] Fix linting issues in migration file --- db/migrate/20250623162207_update_outdated_timezones.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/db/migrate/20250623162207_update_outdated_timezones.rb b/db/migrate/20250623162207_update_outdated_timezones.rb index cc506fe7..33509ec4 100644 --- a/db/migrate/20250623162207_update_outdated_timezones.rb +++ b/db/migrate/20250623162207_update_outdated_timezones.rb @@ -12,8 +12,8 @@ class UpdateOutdatedTimezones < ActiveRecord::Migration[7.2] def up TIMEZONE_MAPPINGS.each do |old_tz, new_tz| execute <<-SQL - UPDATE families - SET timezone = '#{new_tz}' + UPDATE families#{' '} + SET timezone = '#{new_tz}'#{' '} WHERE timezone = '#{old_tz}' SQL end @@ -22,10 +22,10 @@ class UpdateOutdatedTimezones < ActiveRecord::Migration[7.2] def down TIMEZONE_MAPPINGS.each do |old_tz, new_tz| execute <<-SQL - UPDATE families - SET timezone = '#{old_tz}' + UPDATE families#{' '} + SET timezone = '#{old_tz}'#{' '} WHERE timezone = '#{new_tz}' SQL end end -end \ No newline at end of file +end