12 lines
321 B
SQL
12 lines
321 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`itemCategory_afterInsert`
|
|
AFTER INSERT ON `itemCategory`
|
|
FOR EACH ROW
|
|
BEGIN
|
|
CALL mail_insert('cau@verdnatura.es',
|
|
NULL,
|
|
CONCAT('Se ha añadido la familia: ', NEW.name),
|
|
'Hay que añadir la familia en el formulario gastos');
|
|
END$$
|
|
DELIMITER ;
|