2023-01-11 14:19:09 +00:00
|
|
|
CREATE OR REPLACE TABLE `vn`.`docuware` (
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
`code` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
|
|
|
|
`fileCabinetName` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
|
|
|
|
`action` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
|
|
|
|
`dialogName` varchar(100) COLLATE utf8mb3_unicode_ci NOT NULL,
|
|
|
|
`findById` varchar(50) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|
|
|
|
|
|
|
|
INSERT INTO `vn`.`docuware` (`code`, `fileCabinetName`, `action`, `dialogName`, `findById`)
|
2023-01-09 14:11:53 +00:00
|
|
|
VALUES
|
2023-01-11 14:19:09 +00:00
|
|
|
('deliveryNote', 'Albaranes cliente', 'find', 'find', 'N__ALBAR_N'),
|
|
|
|
('deliveryNote', 'Albaranes cliente', 'store', 'Archivar', 'N__ALBAR_N');
|
2023-01-09 14:11:53 +00:00
|
|
|
|
|
|
|
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalId`)
|
|
|
|
VALUES
|
|
|
|
('Docuware','checkFile','READ','ALLOW','employee'),
|
|
|
|
('Docuware','download','READ','ALLOW','salesPerson'),
|
|
|
|
('Docuware','upload','WRITE','ALLOW','productionAssi'),
|
|
|
|
('Docuware','deliveryNoteEmail','WRITE','ALLOW','salesPerson');
|
2023-01-13 12:33:59 +00:00
|
|
|
|
|
|
|
ALTER TABLE `vn`.`docuwareConfig` CHANGE token cookie varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL NULL;
|