10 lines
252 B
MySQL
10 lines
252 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`claimRatio_afterInsert`
|
||
|
AFTER INSERT ON `claimRatio`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
INSERT INTO clientRate(clientFk, `value`)
|
||
|
VALUES(NEW.clientFk, NEW.priceIncreasing);
|
||
|
END$$
|
||
|
DELIMITER ;
|