salix/db/versions/10889-redMedeola/00-firstScript.sql

25 lines
812 B
MySQL
Raw Permalink Normal View History

2024-02-16 07:31:41 +00:00
-- Place your SQL code here
2024-01-18 06:36:21 +00:00
CREATE TABLE IF NOT EXISTS `vn`.`mrwConfig` (
`id` INT auto_increment NULL,
`url` varchar(100) NULL,
`user` varchar(100) NULL,
2024-01-18 06:36:21 +00:00
`password` varchar(100) NULL,
`franchiseCode` varchar(100) NULL,
`subscriberCode` varchar(100) NULL,
CONSTRAINT mrwConfig_pk PRIMARY KEY (id)
)
2024-02-07 15:52:43 +00:00
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb3
COLLATE=utf8mb3_unicode_ci;
2024-01-18 06:36:21 +00:00
ALTER TABLE `vn`.`packingSite` ADD `hasNewLabelMrwMethod` BOOL NULL;
2024-01-18 06:36:21 +00:00
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES('MrwConfig', 'cancelShipment', 'WRITE', 'ALLOW', 'ROLE', 'employee');
2024-01-18 06:36:21 +00:00
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalId`)
VALUES ('MrwConfig','createShipment','WRITE','ALLOW','ROLE','employee');