8144-devToTest_2444 #3137
|
@ -1,3 +1,6 @@
|
||||||
ALTER TABLE `vn`.`operator`
|
ALTER TABLE `vn`.`operator`
|
||||||
ADD COLUMN `machineFk` int(11) DEFAULT NULL,
|
ADD COLUMN `machineFk` int(11) DEFAULT NULL,
|
||||||
ADD CONSTRAINT `operator_machine_FK` FOREIGN KEY (`machineFk`) REFERENCES `vn`.`machine` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;
|
ADD CONSTRAINT `operator_machine_FK` FOREIGN KEY (`machineFk`) REFERENCES `vn`.`machine` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;
|
||||||
|
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Machine','*','*','ALLOW','ROLE','productionBoss');
|
||||||
|
|
Loading…
Reference in New Issue