From 477058ef8f2d7511ef289b6158e69fc02939b9eb Mon Sep 17 00:00:00 2001 From: Atharva Raykar <24277692+tfidfwastaken@users.noreply.github.com> Date: Tue, 19 Dec 2023 19:41:39 +0530 Subject: [PATCH] fix data migration to cleanup a Bangladesh facility (#5360) Fixes a renaming error from #5354 --- ..._org_data.rb => 20231219133951_cleanup_icddrb_org_data.rb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename db/data/{20231213121605_cleanup_bd_org_data.rb => 20231219133951_cleanup_icddrb_org_data.rb} (89%) diff --git a/db/data/20231213121605_cleanup_bd_org_data.rb b/db/data/20231219133951_cleanup_icddrb_org_data.rb similarity index 89% rename from db/data/20231213121605_cleanup_bd_org_data.rb rename to db/data/20231219133951_cleanup_icddrb_org_data.rb index 7cc6338473..da2d61c795 100644 --- a/db/data/20231213121605_cleanup_bd_org_data.rb +++ b/db/data/20231219133951_cleanup_icddrb_org_data.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true -class CleanupIcddrbFacilityData < ActiveRecord::Migration[6.1] +class CleanupIcddrbOrgData < ActiveRecord::Migration[6.1] FACILITY_ID = "f472c5db-188f-4563-9bc7-9f86a6ed6403" def up unless CountryConfig.current_country?("Bangladesh") && ENV["SIMPLE_SERVER_ENV"] == "production" - return print "CleanupIcddrbFacilityData is only for production Bangladesh" + return print "CleanupIcddrbOrgData is only for production Bangladesh" end ActiveRecord::Base.transaction do