ALTER TABLE vn.workerRelatives DROP FOREIGN KEY workerRelatives_disabilityGradeFk; ALTER TABLE vn.workerRelatives DROP FOREIGN KEY workerRelatives_workerFk; INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) VALUES ('WorkerRelative','*','*','ALLOW','ROLE','hr'), ('WorkerIrpf','*','*','ALLOW','ROLE','hr'), ('DisabilityGrade','*','*','ALLOW','ROLE','hr');