SQL changes for localDB docker
This commit is contained in:
parent
1c5a65928e
commit
ea001f44b1
|
@ -156,9 +156,9 @@ INSERT INTO `salix`.`ClientCredit`(`id`, `clientFk`, `employeeFk`, `amount`, `cr
|
|||
|
||||
INSERT INTO `salix`.`ClientCreditLimit`(`id`, `maxAmount`, `roleFk`)
|
||||
VALUES
|
||||
(1, 10000, 20),
|
||||
(2, 600, 19),
|
||||
(3, 0, 13);
|
||||
(1, 10000, 3),
|
||||
(2, 600, 3),
|
||||
(3, 0, 3);
|
||||
|
||||
INSERT INTO `salix`.`ClientObservation`(`id`, `clientFk`, `employeeFk`, `text`, `created`)
|
||||
VALUES
|
||||
|
@ -243,3 +243,46 @@ INSERT INTO `salix`.`Vehicle`(`id`, `numberPlate`, `tradeMark`, `model`, `compan
|
|||
INSERT INTO `vn`.`config`(`id`, `mdbServer`, `fakeEmail`, `defaultersMaxAmount`)
|
||||
VALUES
|
||||
(1, 'beta-server', 'nightmare@verdnatura.es', '200');
|
||||
|
||||
INSERT INTO `salix`.`ACL`(`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
||||
VALUES
|
||||
(1, 'Account', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(2, 'Account', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(3, 'Address', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(4, 'Address', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(5, 'AgencyService', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(6, 'AgencyService', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(7, 'Client', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(8, 'Client', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(9, 'ClientObservation', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(10, 'ClientObservation', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(11, 'ContactChannel', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(12, 'ContactChannel', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(13, 'Employee', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(14, 'PayMethod', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(15, 'PayMethod', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(16, 'FakeProduction', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(17, 'Warehouse', '* ', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(18, 'State', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(19, 'FakeProduction', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(20, 'TicketState', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(22, 'TicketState', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(23, 'TicketState', '*', 'EXECUTE', 'ALLOW', 'ROLE', 'employee'),
|
||||
(24, 'Delivery', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(25, 'Zone', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
||||
|
||||
INSERT INTO `account`.`roleRole` (`role`,`inheritsFrom`)
|
||||
VALUES
|
||||
(1, 1),
|
||||
(1, 2),
|
||||
(2, 2),
|
||||
(3, 1),
|
||||
(3, 2),
|
||||
(3, 3),
|
||||
(3, 4),
|
||||
(4, 1),
|
||||
(4, 2),
|
||||
(4, 4);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue