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');