12 lines
323 B
SQL
12 lines
323 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`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 ;
|