7199-devToTest_2316 #2287

Merged
alexm merged 169 commits from 7199-devToTest_2316 into test 2024-04-11 06:25:23 +00:00
1 changed files with 7 additions and 7 deletions
Showing only changes of commit 1315a854a9 - Show all commits

View File

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