From 32267e005a18af1e1a86baa22f1da0e0c617ff37 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 15 Apr 2020 15:49:08 +0100 Subject: [PATCH 1/2] CON-1720-unset-service-outage-banner --- .../010-configuration-unset_outage_message.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/Data/Recruit.ChangeScripts/010-configuration-unset_outage_message.js diff --git a/src/Data/Recruit.ChangeScripts/010-configuration-unset_outage_message.js b/src/Data/Recruit.ChangeScripts/010-configuration-unset_outage_message.js new file mode 100644 index 0000000000..56208d195b --- /dev/null +++ b/src/Data/Recruit.ChangeScripts/010-configuration-unset_outage_message.js @@ -0,0 +1,8 @@ +print("Start clearing outage message."); +db.configuration.update({_id:"EmployerRecruitSystem"}, {$set: {plannedOutageMessage: ""}}); +print("Outage message cleared on employer."); +db.configuration.update({_id:"QaRecruitSystem"}, {$set: {plannedOutageMessage: ""}}); +print("Outage message cleared on QA."); +db.configuration.update({_id:"ProviderRecruitSystem"}, {$set: {plannedOutageMessage: ""}}); +print("Outage message cleared on provider."); +print("Completed clearing outage message."); \ No newline at end of file From 273b30dd9e96b7111cc3fdd481ce655b470dc465 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 21 Apr 2020 09:06:03 +0100 Subject: [PATCH 2/2] CON-1720-archive-set-script --- .../2020-04-21}/010-configuration-set_outage_message.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/Data/Recruit.ChangeScripts/{ => archived/2020-04-21}/010-configuration-set_outage_message.js (100%) diff --git a/src/Data/Recruit.ChangeScripts/010-configuration-set_outage_message.js b/src/Data/Recruit.ChangeScripts/archived/2020-04-21/010-configuration-set_outage_message.js similarity index 100% rename from src/Data/Recruit.ChangeScripts/010-configuration-set_outage_message.js rename to src/Data/Recruit.ChangeScripts/archived/2020-04-21/010-configuration-set_outage_message.js