Debug last commit

This commit is contained in:
Adrien RENARD 2024-01-24 03:46:16 +01:00
parent 8d76559474
commit 66ee8c8ec6
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ DEFAULT CHARSET=utf8;
CREATE TABLE `legumes_tarifs` (
`ref` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT,
`legume` smallint(5) UNSIGNED NOT NULL,
`groupe` smallint(5) UNSIGNED NOT NULL DEFAULT '0'
`groupe` smallint(5) UNSIGNED NOT NULL DEFAULT '0',
`prix` float(5,2) UNSIGNED NOT NULL,
`unite` set('kg','pièce','botte') NOT NULL DEFAULT 'kg',
`date` date NOT NULL,
@ -171,7 +171,7 @@ CREATE TABLE `legumes_tarifs` (
`del` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`ref`),
CONSTRAINT `legumes_tarifs_legume_fk` FOREIGN KEY (`legume`) REFERENCES `legumes`(`ref`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `legumes_tarifs_groupe_fk` FOREIGN KEY (`groupe`) REFERENCES `paniers_groupes`(`ref`) ON DELETE RESTRICT ON UPDATE RESTRICT,
INDEX (`groupe`),
INDEX (`archive`),
INDEX (`del`)
)