2024-03-18 17:15:05 +00:00
|
|
|
INSERT INTO util.notification ( name, description)
|
|
|
|
SELECT 'invoice-ticket-closure',
|
2024-03-13 11:18:43 +00:00
|
|
|
'Tickets not invoiced during the nightly closure ticket process'
|
|
|
|
FROM util.notification;
|
2024-03-18 17:15:05 +00:00
|
|
|
|
|
|
|
SET @notificationFk =LAST_INSERT_ID();
|
2024-03-13 17:51:11 +00:00
|
|
|
|
|
|
|
INSERT IGNORE INTO util.notificationAcl (notificationFk, roleFk)
|
2024-03-18 17:15:05 +00:00
|
|
|
SELECT @notificationFk, 108
|
2024-03-13 17:51:11 +00:00
|
|
|
FROM util.notification;
|
|
|
|
|
|
|
|
INSERT IGNORE INTO util.notificationSubscription (notificationFk, userFk)
|
2024-03-18 17:15:05 +00:00
|
|
|
SELECT @notificationFk, 108
|
|
|
|
FROM util.notification;
|