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

11 lines
238 B
MySQL
Raw Normal View History

2024-10-07 12:21:18 +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:21:18 +00:00
WHERE id = NEW.orderFk;
END$$
DELIMITER ;