DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `hedera`.`orderRow_afterDelete` AFTER DELETE ON `orderRow` FOR EACH ROW BEGIN CALL stock.log_add('orderRow', NULL, OLD.id); CALL order_requestRecalc(OLD.orderFk); END$$ DELIMITER ;