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