salix/db/versions/10949-limeLaurel/00-firstScript.sql

14 lines
477 B
MySQL
Raw Normal View History

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;
SET @notificationFk =LAST_INSERT_ID();
2024-03-13 17:51:11 +00:00
INSERT IGNORE INTO util.notificationAcl (notificationFk, roleFk)
SELECT @notificationFk, 108
2024-03-13 17:51:11 +00:00
FROM util.notification;
INSERT IGNORE INTO util.notificationSubscription (notificationFk, userFk)
SELECT @notificationFk, 108
FROM util.notification;