CREATE TABLE `vn`.`clientSms` ( `id` int(11) NOT NULL AUTO_INCREMENT, `clientFk` int(11) NOT NULL, `smsFk` mediumint(8) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `clientSms_FK` (`clientFk`), KEY `clientSms_FK_1` (`smsFk`), CONSTRAINT `clientSms_FK` FOREIGN KEY (`clientFk`) REFERENCES `client` (`id`) ON UPDATE CASCADE, CONSTRAINT `clientSms_FK_1` FOREIGN KEY (`smsFk`) REFERENCES `sms` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('ClientSms', 'find', 'READ', 'ALLOW', 'ROLE', 'employee'), ('ClientSms', 'create', 'WRITE', 'ALLOW', 'ROLE', 'employee');