From 75bedf66ff8e1d83dbe7d3d886e0c2dc1e1c1720 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Wed, 24 Apr 2024 09:41:13 +0100 Subject: [PATCH] Remove update from migration This migration has been run in all environments now so we can remove this line from it. --- ...0240424081136_add_subject_limited_to_application_forms.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/db/migrate/20240424081136_add_subject_limited_to_application_forms.rb b/db/migrate/20240424081136_add_subject_limited_to_application_forms.rb index cc714e9016..38c08e7b96 100644 --- a/db/migrate/20240424081136_add_subject_limited_to_application_forms.rb +++ b/db/migrate/20240424081136_add_subject_limited_to_application_forms.rb @@ -5,10 +5,5 @@ def change :boolean, null: false, default: false - - ApplicationForm - .joins(:region) - .where(region: { country: Country.where(subject_limited: true) }) - .update_all(subject_limited: true) end end