From 0912bd40f3d51572cbd7c5923c056a0163ea31b4 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 15 Sep 2023 09:15:48 +0200 Subject: [PATCH] refs #5660 sql fix --- db/changes/{233801 => 234001}/01-deliveryAssistantACL.sql | 2 -- 1 file changed, 2 deletions(-) rename db/changes/{233801 => 234001}/01-deliveryAssistantACL.sql (93%) diff --git a/db/changes/233801/01-deliveryAssistantACL.sql b/db/changes/234001/01-deliveryAssistantACL.sql similarity index 93% rename from db/changes/233801/01-deliveryAssistantACL.sql rename to db/changes/234001/01-deliveryAssistantACL.sql index 34acf2427..9f3caf848 100644 --- a/db/changes/233801/01-deliveryAssistantACL.sql +++ b/db/changes/234001/01-deliveryAssistantACL.sql @@ -8,8 +8,6 @@ FROM account.roleInherit ri JOIN account.role r2 ON r2.id = ri.`role` WHERE r2.name = 'deliveryBoss'; -DELETE FROM `account`.`roleInherit` WHERE role = 57; - INSERT INTO `account`.`roleInherit` (role, inheritsFrom) SELECT (SELECT id FROM account.role WHERE name = 'deliveryBoss') role, (SELECT id FROM account.role WHERE name = 'deliveryAssistant') roleInherit;