salix/db/routines/srt/triggers/expedition_beforeUpdate.sql

11 lines
206 B
MySQL
Raw Permalink Normal View History

DELIMITER $$
2024-01-25 16:33:54 +00:00
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `srt`.`expedition_beforeUpdate`
BEFORE UPDATE ON `expedition`
FOR EACH ROW
BEGIN
SET NEW.updated = util.VN_NOW();
END$$
DELIMITER ;