intégration de l'analyse des avis dans l'interface admin

This commit is contained in:
Quentin Roussel
2023-04-02 20:28:12 +02:00
parent ef2c3cdce4
commit 1fa3b92e32
13 changed files with 114 additions and 21 deletions

View File

@@ -52,9 +52,10 @@ CREATE TABLE `borne_criteres` (
--
INSERT INTO `borne_criteres` (`id`, `nom`) VALUES
(1, 'proprete'),
(2, 'calme'),
(3, 'attente');
(1, 'analyse');
(2, 'proprete'),
(3, 'calme'),
(4, 'attente');
-- --------------------------------------------------------
@@ -67,7 +68,7 @@ CREATE TABLE `borne_notes_autre` (
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`critere_id` int NOT NULL,
`avis_id` int NOT NULL,
`note` int NOT NULL COMMENT 'Note sur 10'
`note` float NOT NULL COMMENT 'Note sur 10'
) ;
-- --------------------------------------------------------