This commit is contained in:
parent
913b261f86
commit
1315a854a9
|
@ -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;
|
Loading…
Reference in New Issue