2022-04-07 09:41:35 +00:00
|
|
|
CREATE TABLE `vn`.`clientUnpaid` (
|
|
|
|
`clientFk` int(11) NOT NULL,
|
|
|
|
`dated` date NOT NULL,
|
|
|
|
`amount` double DEFAULT 0,
|
|
|
|
PRIMARY KEY (`clientFk`),
|
2022-05-24 12:50:33 +00:00
|
|
|
CONSTRAINT `clientUnpaid_clientFk` FOREIGN KEY (`clientFk`) REFERENCES `vn`.`client` (`id`) ON UPDATE CASCADE
|
2022-04-07 09:41:35 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
|
|
|
VALUES('ClientUnpaid', '*', '*', 'ALLOW', 'ROLE', 'administrative');
|