9 lines
191 B
MySQL
9 lines
191 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`host_beforeUpdate`
|
||
|
BEFORE UPDATE ON `host`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
SET new.updated = util.VN_NOW();
|
||
|
END$$
|
||
|
DELIMITER ;
|