This commit is contained in:
parent
eaf3f5e3ea
commit
68b65105fd
|
@ -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');
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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';
|
Loading…
Reference in New Issue