From 2a65313e7fea6f1a635f12eeccd6c71d7f173562 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 21 May 2024 11:15:58 +0200 Subject: [PATCH] feat(salix): refs #5926 myt version --- db/dump/fixtures.before.sql | 7 +------ db/versions/11062-tealArborvitae/00-firstScript.sql | 9 +++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 db/versions/11062-tealArborvitae/00-firstScript.sql diff --git a/db/dump/fixtures.before.sql b/db/dump/fixtures.before.sql index b83d190c9..18ccd79d0 100644 --- a/db/dump/fixtures.before.sql +++ b/db/dump/fixtures.before.sql @@ -3793,9 +3793,6 @@ INSERT INTO vn.workCenter (id, name, payrollCenterFk, counter, warehouseFk, stre UPDATE vn.locker SET workerFk = 1110 WHERE id = 147; -ALTER TABLE vn.docuwareTablet ADD fileCabinet varchar(100) NULL; -ALTER TABLE vn.docuware ADD modelFk VARCHAR(45) DEFAULT NULL NULL; -ALTER TABLE vn.docuware ADD CONSTRAINT docuware_module_FK FOREIGN KEY (modelFk) REFERENCES salix.module(code); -- Auto-generated SQL script #202405201318 UPDATE vn.userConfig SET tabletFk='Tablet1' @@ -3812,6 +3809,4 @@ UPDATE vn.docuware UPDATE vn.docuware SET modelFk='worker' WHERE id=3; --- Auto-generated SQL script #202405201951 -INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) - VALUES ('Worker','isPDASigned','READ','ALLOW','ROLE','hr'); + diff --git a/db/versions/11062-tealArborvitae/00-firstScript.sql b/db/versions/11062-tealArborvitae/00-firstScript.sql new file mode 100644 index 000000000..c262cf323 --- /dev/null +++ b/db/versions/11062-tealArborvitae/00-firstScript.sql @@ -0,0 +1,9 @@ +-- Place your SQL code here + +ALTER TABLE vn.docuwareTablet ADD fileCabinet varchar(100) NULL; +ALTER TABLE vn.docuware ADD modelFk VARCHAR(45) DEFAULT NULL NULL; +ALTER TABLE vn.docuware ADD CONSTRAINT docuware_module_FK FOREIGN KEY (modelFk) REFERENCES salix.module(code); + +-- Auto-generated SQL script #202405201951 +INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) + VALUES ('Worker','isPDASigned','READ','ALLOW','ROLE','hr');