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

14 lines
438 B
SQL

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