Skip to content

Commit

Permalink
fix data migration to cleanup a Bangladesh facility (#5360)
Browse files Browse the repository at this point in the history
Fixes a renaming error from #5354
  • Loading branch information
tfidfwastaken authored Dec 19, 2023
1 parent a57beef commit 477058e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 477058e

Please sign in to comment.