From 845d8f2ff5ec3a7887897cb5a6f4b11b1145cd74 Mon Sep 17 00:00:00 2001 From: "sachin.patel" Date: Tue, 16 Jul 2019 15:04:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9C=20-=20Clear=20outage=20message=20c?= =?UTF-8?q?hangeScript=20+semver:=20patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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