From d86f8d8df145e30591e92317fff72734bf80d968 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Fri, 8 Sep 2023 14:58:06 +0100 Subject: [PATCH] feat: update delete script --- DO NOT COMMIT/delete orgs script.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/DO NOT COMMIT/delete orgs script.rb b/DO NOT COMMIT/delete orgs script.rb index b8b10e98d..f59ce7566 100644 --- a/DO NOT COMMIT/delete orgs script.rb +++ b/DO NOT COMMIT/delete orgs script.rb @@ -22,6 +22,7 @@ def delete_organisations(org_names) org.destroy! p "#{i} of #{org_names.count}: #{org_name} and associated objects deleted" end + #remember to delete logs that have been assigned to no orgs so they can reimport successfully end delete_organisations(org_names)