 --
 -- Filtros para la tabla `product`
 --
-ALTER TABLE `product`
-ADD CONSTRAINT `fk_user` FOREIGN KEY (`id_user`) REFERENCES `user` (`id_user`) ON DELETE NO ACTION ON UPDATE NO ACTION;
+
 
 --
 -- Filtros para la tabla `product_language`

CREATE TABLE IF NOT EXISTS `product` (
`id_product` int(11) NOT NULL,
  `id_product_prestashop` int(11) NOT NULL,
  `id_user` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Volcado de datos para la tabla `product`
--

INSERT INTO `product` (`id_product`, `id_product_prestashop`, `id_user`) VALUES
(1, 22, 2),
(2, 12, 4);

-- --------------------------------------------------------


ALTER TABLE `material`
ADD CONSTRAINT `fk_id_category_material` FOREIGN KEY (`id_category`) REFERENCES `category` (`id_category`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_id_measurement_material` FOREIGN KEY (`id_measurement`) REFERENCES `measurement` (`id_measurement`) ON DELETE NO ACTION ON UPDATE NO ACTION,

--
-- Filtros para la tabla `material_combination`
