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

14 lines
396 B
MySQL
Raw Permalink Normal View History

DELIMITER $$
2024-08-20 08:06:10 +00:00
CREATE OR REPLACE DEFINER=`vn`@`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 ;