-- Création de la table marches_listes
CREATE TABLE IF NOT EXISTS `marches_listes` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_marche` int(11) DEFAULT NULL,
  `terme_achat` varchar(255) DEFAULT NULL,
  `date_created` datetime DEFAULT current_timestamp(),
  `date_modified` datetime DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  KEY `idx_fk_marche` (`fk_marche`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;