salix/db/routines/vn/triggers/time_afterUpdate.sql

14 lines
398 B
MySQL
Raw Normal View History

DELIMITER $$
2024-01-25 16:33:54 +00:00
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`time_afterUpdate`
AFTER UPDATE ON `time`
FOR EACH ROW
BEGIN
/*INSERT INTO vn.mail SET
`sender` = 'jgallego@verdnatura.es',
`replyTo` = 'jgallego@verdnatura.es',
`subject` = 'tabla time modificada',
`body` = CONCAT(account.myUser_getName(), ' ha modificado la tabla time ',
NEW.`dated`);*/
END$$
DELIMITER ;