Merge branch '5858-zone_Collisions' of https://gitea.verdnatura.es/verdnatura/salix into 5858-zone_Collisions
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-02-12 15:13:27 +01:00
commit 242d675d28
3 changed files with 0 additions and 38 deletions

View File

@ -1,18 +0,0 @@
-- UPDATE salix.ACL
-- SET principalId='employee' WHERE model ="Notification";
-- INSERT INTO util.notification (name,description)
-- VALUES ('zone-included','An email to notify zoneCollisions');
-- INSERT INTO util.notificationSubscription (notificationFk,userFk)
-- SELECT
-- (SELECT id FROM util.notification WHERE name= "zone-included") AS notificationFk,
-- (SELECT account.myUser_getId() ) AS userFk;
-- INSERT INTO util.notificationAcl (notificationFk, roleFk)
-- SELECT
-- (SELECT id FROM util.notification WHERE name = 'zone-included') AS notificationFk,
-- (SELECT id FROM account.role WHERE name = 'system') AS roleFk;

View File

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

View File

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