refs #5660 sql fix
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-09-15 09:15:48 +02:00
parent 2a1e828e14
commit 0912bd40f3
1 changed files with 0 additions and 2 deletions

View File

@ -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;