fix: closeTicket idem salix Refs: #6549
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-03-18 18:15:05 +01:00
parent 913b261f86
commit 1315a854a9
1 changed files with 7 additions and 7 deletions

View File

@ -1,14 +1,14 @@
INSERT INTO util.notification (id, name, description)
SELECT MAX(id) + 1,
'invoice-ticket-closure',
INSERT INTO util.notification ( name, description)
SELECT 'invoice-ticket-closure',
'Tickets not invoiced during the nightly closure ticket process'
FROM util.notification;
SET @notificationFk =LAST_INSERT_ID();
INSERT IGNORE INTO util.notificationAcl (notificationFk, roleFk)
SELECT MAX(id), 108
SELECT @notificationFk, 108
FROM util.notification;
INSERT IGNORE INTO util.notificationSubscription (notificationFk, userFk)
SELECT MAX(id), 108
FROM util.notification;
SELECT @notificationFk, 108
FROM util.notification;