This commit is contained in:
parent
2a1e828e14
commit
0912bd40f3
|
@ -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;
|
Loading…
Reference in New Issue