2024-10-07 12:24:55 +00:00
|
|
|
DELIMITER $$
|
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `hedera`.`orderRow_afterInsert`
|
|
|
|
AFTER INSERT ON `orderRow`
|
|
|
|
FOR EACH ROW
|
|
|
|
BEGIN
|
|
|
|
UPDATE `order`
|
2024-10-10 06:20:41 +00:00
|
|
|
SET rowUpdated = util.VN_NOW()
|
2024-10-07 12:24:55 +00:00
|
|
|
WHERE id = NEW.orderFk;
|
|
|
|
END$$
|
|
|
|
DELIMITER ;
|