7152-devToTest_2414 #2228

Merged
alexm merged 636 commits from 7152-devToTest_2414 into test 2024-03-28 08:26:34 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 4994a836c7 - Show all commits

View File

@ -0,0 +1 @@
ALTER TABLE util.notification MODIFY COLUMN id int(11) auto_increment NOT NULL;

View File

@ -1,8 +1,7 @@
SET @MaxId = (SELECT MAX(id)+1 from util.notification n); INSERT IGNORE INTO util.notification ( `name`,`description`)
INSERT IGNORE INTO util.notification (`id`, `name`,`description`)
VALUES VALUES
(@MaxId, 'zone-included','An email to notify zoneCollisions'); ( 'zone-included','An email to notify zoneCollisions');
SET @MaxId = LAST_INSERT_ID();
INSERT IGNORE INTO util.notificationSubscription (notificationFk,userFk) INSERT IGNORE INTO util.notificationSubscription (notificationFk,userFk)
VALUES( VALUES(
@MaxId, (SELECT id from `account`.`user` where name = "system")); @MaxId, (SELECT id from `account`.`user` where name = "system"));