salix/db/routines/hedera/triggers/orderRow_afterInsert.sql

10 lines
239 B
MySQL
Raw Normal View History

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`
SET rowUpdated = util.VN_NOW()
2024-10-07 12:24:55 +00:00
WHERE id = NEW.orderFk;
END$$
DELIMITER ;