7 lines
218 B
MySQL
7 lines
218 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`receipt_beforeDelete`
|
||
|
BEFORE DELETE ON `receipt`
|
||
|
FOR EACH ROW
|
||
|
CALL clientRisk_update(OLD.clientFk, OLD.companyFk, OLD.amountPaid)$$
|
||
|
DELIMITER ;
|