refactor: refs #6701 Minor change

This commit is contained in:
Guillermo Bonet 2024-06-03 12:16:33 +02:00
parent 85d68890b8
commit d3584691fa
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`claimRatio_afterInser
FOR EACH ROW FOR EACH ROW
BEGIN BEGIN
INSERT INTO clientRate(clientFk, `value`) INSERT INTO clientRate(clientFk, `value`)
VALUES(NEW.clientFk, NEW.priceIncreasing); VALUES(NEW.clientFk, NEW.priceIncreasing)
ON DUPLICATE KEY UPDATE
`value` = VALUES(`value`);
END$$ END$$
DELIMITER ; DELIMITER ;