refs #5858 feat: fix vn file

This commit is contained in:
Javier Segarra 2024-03-04 11:57:10 +01:00
parent 95fa776e41
commit 78c92af02f
1 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
SET @MaxId = SELECT MAX(id)+1 from util.notification n)
INSERT INTO IGNORE util.notification (id, name,description)
VALUES (
SET @MaxId = (SELECT MAX(id)+1 from util.notification n);
INSERT IGNORE INTO util.notification (`id`, `name`,`description`)
VALUES
(@MaxId, 'zone-included','An email to notify zoneCollisions');
INSERT INTO IGNORE util.notificationSubscription (notificationFk,userFk)
INSERT IGNORE INTO util.notificationSubscription (notificationFk,userFk)
VALUES(
@MaxId, 100);
INSERT INTO IGNORE util.notificationAcl (notificationFk,roleFk)
INSERT IGNORE INTO util.notificationAcl (notificationFk,roleFk)
SELECT @MaxId, (SELECT id from `account`.`role` where name = "system") FROM util.notification WHERE name= "zone-included";