CREATE TABLE `Contacts_historique` (
  `id` int(11) NOT NULL,
  `nom` varchar(40) NOT NULL,
  `prenom` varchar(40) NOT NULL,
  `entreprise` varchar(40) DEFAULT NULL,
  `mail` varchar(80) NOT NULL,
  `telephone` int(15) NOT NULL,
  `opt_in` int(1) DEFAULT NULL,
  `theme_demande` varchar(80) DEFAULT NULL,
  `objet` varchar(80) DEFAULT NULL,
  `date_contact` DATE NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Demande de contact promos.lj2';

ALTER TABLE `products`
  ADD PRIMARY KEY (`id`);
ALTER TABLE `images`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;

