Ver originalGRANT ALL PRIVILEGES ON *.* TO 'nehuen'@'localhost' IDENTIFIED BY PASSWORD '***' WITH GRANT OPTION;
Ver originalCREATE DEFINER = `nehuen`@`localhost` TRIGGER `borrar_articulo` BEFORE DELETE ON `recepcion_detalle` FOR EACH ROW UPDATE articulos SET stock = stock - OLD.cantidad WHERE articulos.id_articulo = OLD.id_articulo