refs #5858 feat: fix vn file
This commit is contained in:
parent
95fa776e41
commit
78c92af02f
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue