I have inserted this trigger
:
DELIMITER //
CREATE TRIGGER tr_updStockIngreso AFTER
INSERT ON detalle_ingreso
FOR EACH ROW BEGIN
UPDATE producto SET STOCK_PRODUCTO = STOCK_PRODUCTO + NEW.CANTIDAD_INGRESO
WHERE producto.ID_PRODUCTO = NEW.ID_PRODUCTO;
END
//
DELIMITER ;
but I get this error:
1235 - This version of MariaDB does not support 'multiple triggers with the same action time and event for one table' yet