DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`productionConfig_afterDelete`
	AFTER DELETE ON `productionConfig`
	FOR EACH ROW
BEGIN
	INSERT INTO productionConfig
		SET `action` = 'delete',
			`changedModel` = 'ProductionConfig',
			`changedModelId` = OLD.id,
			`userFk` = account.myUser_getId();
END$$
DELIMITER ;
