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