From c3ee9da6c68c9d4a6614ef41bd64dde50752eaa8 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 7 Nov 2022 10:18:32 +0100 Subject: [PATCH 1/3] hotFix: force apply changes --- .../{10490-goldenSummer => 10501-november}/00-aclNotification.sql | 0 .../{10490-august => 10501-november}/00-packingSiteConfig.sql | 0 .../{10490-august => 10501-november}/00-packingSiteUpdate.sql | 0 db/changes/{10490-august => 10501-november}/00-salix_url.sql | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename db/changes/{10490-goldenSummer => 10501-november}/00-aclNotification.sql (100%) rename db/changes/{10490-august => 10501-november}/00-packingSiteConfig.sql (100%) rename db/changes/{10490-august => 10501-november}/00-packingSiteUpdate.sql (100%) rename db/changes/{10490-august => 10501-november}/00-salix_url.sql (100%) diff --git a/db/changes/10490-goldenSummer/00-aclNotification.sql b/db/changes/10501-november/00-aclNotification.sql similarity index 100% rename from db/changes/10490-goldenSummer/00-aclNotification.sql rename to db/changes/10501-november/00-aclNotification.sql diff --git a/db/changes/10490-august/00-packingSiteConfig.sql b/db/changes/10501-november/00-packingSiteConfig.sql similarity index 100% rename from db/changes/10490-august/00-packingSiteConfig.sql rename to db/changes/10501-november/00-packingSiteConfig.sql diff --git a/db/changes/10490-august/00-packingSiteUpdate.sql b/db/changes/10501-november/00-packingSiteUpdate.sql similarity index 100% rename from db/changes/10490-august/00-packingSiteUpdate.sql rename to db/changes/10501-november/00-packingSiteUpdate.sql diff --git a/db/changes/10490-august/00-salix_url.sql b/db/changes/10501-november/00-salix_url.sql similarity index 100% rename from db/changes/10490-august/00-salix_url.sql rename to db/changes/10501-november/00-salix_url.sql From 17d63081268e060b1ebc3d1abfb995c8c4ad9fcd Mon Sep 17 00:00:00 2001 From: Joan Date: Mon, 7 Nov 2022 10:48:38 +0100 Subject: [PATCH 2/3] Already on prod --- .../10501-november/00-aclNotification.sql | 3 - .../10501-november/00-packingSiteConfig.sql | 12 ---- .../10501-november/00-packingSiteUpdate.sql | 56 ------------------- db/changes/10501-november/00-salix_url.sql | 33 ----------- 4 files changed, 104 deletions(-) delete mode 100644 db/changes/10501-november/00-aclNotification.sql delete mode 100644 db/changes/10501-november/00-packingSiteConfig.sql delete mode 100644 db/changes/10501-november/00-packingSiteUpdate.sql delete mode 100644 db/changes/10501-november/00-salix_url.sql diff --git a/db/changes/10501-november/00-aclNotification.sql b/db/changes/10501-november/00-aclNotification.sql deleted file mode 100644 index 51d6b2471..000000000 --- a/db/changes/10501-november/00-aclNotification.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) - VALUES - ('Notification', '*', 'WRITE', 'ALLOW', 'ROLE', 'developer'); diff --git a/db/changes/10501-november/00-packingSiteConfig.sql b/db/changes/10501-november/00-packingSiteConfig.sql deleted file mode 100644 index 945b5a54c..000000000 --- a/db/changes/10501-november/00-packingSiteConfig.sql +++ /dev/null @@ -1,12 +0,0 @@ -CREATE TABLE `vn`.`packingSiteConfig` ( - `id` INT(11) NOT NULL AUTO_INCREMENT, - `shinobiUrl` varchar(255) NOT NULL, - `shinobiToken` varchar(255) NOT NULL, - `shinobiGroupKey` varchar(255) NOT NULL, - `avgBoxingTime` INT(3) NULL, - PRIMARY KEY (`id`) - ); - -INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) - VALUES - ('Boxing', '*', '*', 'ALLOW', 'ROLE', 'employee'); diff --git a/db/changes/10501-november/00-packingSiteUpdate.sql b/db/changes/10501-november/00-packingSiteUpdate.sql deleted file mode 100644 index 14313fd52..000000000 --- a/db/changes/10501-november/00-packingSiteUpdate.sql +++ /dev/null @@ -1,56 +0,0 @@ -ALTER TABLE `vn`.`packingSite` ADD monitorId varchar(255) NULL; - -UPDATE `vn`.`packingSite` - SET monitorId = 'VbiUcajdaT' - WHERE code = 'h1'; -UPDATE `vn`.`packingSite` - SET monitorId = 'qKMPn9aaVe' - WHERE code = 'h2'; -UPDATE `vn`.`packingSite` - SET monitorId = '3CtdIAGPAv' - WHERE code = 'h3'; -UPDATE `vn`.`packingSite` - SET monitorId = 'Xme2hiqz1f' - WHERE code = 'h4'; -UPDATE `vn`.`packingSite` - SET monitorId = 'aulxefgfJU' - WHERE code = 'h5'; -UPDATE `vn`.`packingSite` - SET monitorId = '6Ou0D1bhBw' - WHERE code = 'h6'; -UPDATE `vn`.`packingSite` - SET monitorId = 'eVUvnE6pNw' - WHERE code = 'h7'; -UPDATE `vn`.`packingSite` - SET monitorId = '0wsmSvqmrs' - WHERE code = 'h8'; -UPDATE `vn`.`packingSite` - SET monitorId = 'r2l2RyyF4I' - WHERE code = 'h9'; -UPDATE `vn`.`packingSite` - SET monitorId = 'EdjHLIiDVD' - WHERE code = 'h10'; -UPDATE `vn`.`packingSite` - SET monitorId = 'czC45kmwqI' - WHERE code = 'h11'; -UPDATE `vn`.`packingSite` - SET monitorId = 'PNsmxPaCwQ' - WHERE code = 'h12'; -UPDATE `vn`.`packingSite` - SET monitorId = 'agVssO0FDC' - WHERE code = 'h13'; -UPDATE `vn`.`packingSite` - SET monitorId = 'f2SPNENHPo' - WHERE code = 'h14'; -UPDATE `vn`.`packingSite` - SET monitorId = '6UR7gUZxks' - WHERE code = 'h15'; -UPDATE `vn`.`packingSite` - SET monitorId = 'bOB0f8WZ2V' - WHERE code = 'h16'; -UPDATE `vn`.`packingSite` - SET monitorId = 'MIR1nXaL0n' - WHERE code = 'h17'; -UPDATE `vn`.`packingSite` - SET monitorId = '0Oj9SgGTXR' - WHERE code = 'h18'; diff --git a/db/changes/10501-november/00-salix_url.sql b/db/changes/10501-november/00-salix_url.sql deleted file mode 100644 index ea5c3b606..000000000 --- a/db/changes/10501-november/00-salix_url.sql +++ /dev/null @@ -1,33 +0,0 @@ -CREATE TABLE `salix`.`url` ( - `appName` varchar(100) NOT NULL, - `environment` varchar(100) NOT NULL, - `url` varchar(255) NOT NULL, - PRIMARY KEY (`appName`,`environment`) -); - -INSERT INTO `salix`.`url` (`appName`, `environment`, `url`) - VALUES - ('salix', 'production', 'https://salix.verdnatura.es/#!/'); -INSERT INTO `salix`.`url` (`appName`, `environment`, `url`) - VALUES - ('salix', 'test', 'https://test-salix.verdnatura.es/#!/'); -INSERT INTO `salix`.`url` (`appName`, `environment`, `url`) - VALUES - ('salix', 'dev', 'http://localhost:5000/#!/'); -INSERT INTO `salix`.`url` (`appName`, `environment`, `url`) - VALUES - ('lilium', 'production', 'https://lilium.verdnatura.es/#/'); -INSERT INTO `salix`.`url` (`appName`, `environment`, `url`) - VALUES - ('lilium', 'test', 'https://test-lilium.verdnatura.es/#/'); -INSERT INTO `salix`.`url` (`appName`, `environment`, `url`) - VALUES - ('lilium', 'dev', 'http://localhost:8080/#/'); - -INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) - VALUES - ('Url', '*', 'READ', 'ALLOW', 'ROLE', 'employee'); - -INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) - VALUES - ('Url', '*', 'WRITE', 'ALLOW', 'ROLE', 'it'); From be1fbc4d6806791293481a97fff18a7340dfc231 Mon Sep 17 00:00:00 2001 From: Joan Date: Mon, 7 Nov 2022 10:49:17 +0100 Subject: [PATCH 3/3] Added version 10502 --- .../{10501-november => 10502-november}/00-deletePickupContact.sql | 0 .../{10501-november => 10502-november}/00-itemShelvingACL.sql | 0 .../00-itemShelvingPlacementSupplyStockACL.sql | 0 .../{10501-november => 10502-november}/00-zone_getPostalCode.sql | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename db/changes/{10501-november => 10502-november}/00-deletePickupContact.sql (100%) rename db/changes/{10501-november => 10502-november}/00-itemShelvingACL.sql (100%) rename db/changes/{10501-november => 10502-november}/00-itemShelvingPlacementSupplyStockACL.sql (100%) rename db/changes/{10501-november => 10502-november}/00-zone_getPostalCode.sql (100%) diff --git a/db/changes/10501-november/00-deletePickupContact.sql b/db/changes/10502-november/00-deletePickupContact.sql similarity index 100% rename from db/changes/10501-november/00-deletePickupContact.sql rename to db/changes/10502-november/00-deletePickupContact.sql diff --git a/db/changes/10501-november/00-itemShelvingACL.sql b/db/changes/10502-november/00-itemShelvingACL.sql similarity index 100% rename from db/changes/10501-november/00-itemShelvingACL.sql rename to db/changes/10502-november/00-itemShelvingACL.sql diff --git a/db/changes/10501-november/00-itemShelvingPlacementSupplyStockACL.sql b/db/changes/10502-november/00-itemShelvingPlacementSupplyStockACL.sql similarity index 100% rename from db/changes/10501-november/00-itemShelvingPlacementSupplyStockACL.sql rename to db/changes/10502-november/00-itemShelvingPlacementSupplyStockACL.sql diff --git a/db/changes/10501-november/00-zone_getPostalCode.sql b/db/changes/10502-november/00-zone_getPostalCode.sql similarity index 100% rename from db/changes/10501-november/00-zone_getPostalCode.sql rename to db/changes/10502-november/00-zone_getPostalCode.sql