5660-changeRolDeliveryAssistant #1607

Merged
carlossa merged 36 commits from 5660-changeRolDeliveryAssistant into dev 2023-09-20 11:04:32 +00:00
2 changed files with 9 additions and 27 deletions
Showing only changes of commit 68b65105fd - Show all commits

View File

@ -1,7 +1,7 @@
-- Auto-generated SQL script #202306121356
UPDATE `account`.`role`
SET `description` = 'Asistente de envios'
WHERE `name` = 'deliveryAssistant';
-- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values.
INSERT INTO `account`.`role` (name,description)
VALUES ('deliveryAssistant','Asistencia de envios');

View File

@ -1,23 +1,5 @@
-- Auto-generated SQL script #202306121403
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,1);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,2);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,3);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,6);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,11);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,13);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,33);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,56);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,57);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,70);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,76);
INSERT INTO account.roleInherit
SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant'), ri.inheritsFrom
FROM account.roleInherit ri
JOIN account.role r ON r.id = ri.`role`
WHERE r.name = 'deliveryBoss';