refactor: refs #6701 Minor change
This commit is contained in:
parent
85d68890b8
commit
d3584691fa
|
@ -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 ;
|
||||||
|
|
Loading…
Reference in New Issue