From b6ea0657136599c696198c986a62d3c78480dc8c Mon Sep 17 00:00:00 2001
From: Matthieu ADAM <matthieu.adam(@etu.univ-lorraine.fr>
Date: Thu, 12 Nov 2020 08:28:09 +0100
Subject: [PATCH] bdd

---
 doc/atelier.sql | 60 +++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 51 insertions(+), 9 deletions(-)

diff --git a/doc/atelier.sql b/doc/atelier.sql
index 0d74884..1c133ed 100644
--- a/doc/atelier.sql
+++ b/doc/atelier.sql
@@ -3,7 +3,7 @@
 -- https://www.phpmyadmin.net/
 --
 -- Hôte : db
--- Généré le : mar. 10 nov. 2020 à 14:34
+-- Généré le : jeu. 12 nov. 2020 à 07:27
 -- Version du serveur :  8.0.22
 -- Version de PHP : 7.4.11
 
@@ -40,8 +40,22 @@ CREATE TABLE `commentaire` (
 --
 
 INSERT INTO `commentaire` (`id_commentaire`, `id_photo`, `id_user`, `content`, `date`) VALUES
-(1, 6, 2, 'C''est pas un peu cher ?', '2020-11-10'),
-(2, 6, 3, 'Non a peine', '2020-11-10');
+(1, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(2, 6, 3, 'Non a peine', '2020-11-10'),
+(3, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(4, 6, 3, 'Non a peine', '2020-11-10'),
+(5, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(6, 6, 3, 'Non a peine', '2020-11-10'),
+(7, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(8, 6, 3, 'Non a peine', '2020-11-10'),
+(9, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(10, 6, 3, 'Non a peine', '2020-11-10'),
+(11, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(12, 6, 3, 'Non a peine', '2020-11-10'),
+(13, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(14, 6, 3, 'Non a peine', '2020-11-10'),
+(15, 6, 2, 'C&#39;est pas un peu cher ?', '2020-11-10'),
+(16, 6, 3, 'Non a peine', '2020-11-10');
 
 -- --------------------------------------------------------
 
@@ -63,9 +77,9 @@ CREATE TABLE `galerie` (
 --
 
 INSERT INTO `galerie` (`id_galerie`, `nom`, `description`, `type`, `motscles`, `date`) VALUES
-(1, 'Photos de vacances', 'Vacances 2020', 1, 'été montagne plage', '2020-11-10'),
-(3, 'Idées liste mariage', 'Idées', 0, 'mariage', '2020-11-10'),
-(5, 'Series', 'Netflix', 0, 'Séries', '2020-11-10');
+(1, 'Photos de vacances', 'Vacances 2020', 1, '&eacute;t&eacute; montagne plage', '2020-11-10'),
+(3, 'Id&eacute;es liste mariage', 'Id&eacute;es', 0, 'mariage', '2020-11-10'),
+(5, 'Series', 'Netflix', 0, 'S&eacute;ries', '2020-11-10');
 
 -- --------------------------------------------------------
 
@@ -117,7 +131,35 @@ INSERT INTO `photos` (`id_photo`, `id_galerie`, `titre`, `imageUrl`, `motsCles`,
 (9, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
 (10, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
 (11, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
-(12, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10');
+(12, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10'),
+(13, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
+(14, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
+(15, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
+(16, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10'),
+(17, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
+(18, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
+(19, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
+(20, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10'),
+(21, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
+(22, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
+(23, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
+(24, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10'),
+(25, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
+(26, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
+(27, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
+(28, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10'),
+(29, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
+(30, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
+(31, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
+(32, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10'),
+(33, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
+(34, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
+(35, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
+(36, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10'),
+(37, 5, 'Friends', 'https://blog.comic-con-paris.com/wp-content/uploads/2019/11/friends-series-compressor.jpg', '', '2020-11-10'),
+(38, 5, 'Stranger Things', 'https://img.phonandroid.com/2020/08/stranger-things-3.jpg', '', '2020-11-10'),
+(39, 5, 'The Big Bang Theory', 'https://images.bfmtv.com/j86c26kFMQXMu-87GzpTZpbbliA=/4x3:1252x705/1248x0/images/-186047.jpg', '', '2020-11-10'),
+(40, 5, 'The Walking Dead', 'https://img.20mn.fr/5im5zzC4SEuZPvf-1mdVyw/830x532_saison-8-the-walking-dead-debarque-dimanche-soir-amc.jpg', '', '2020-11-10');
 
 -- --------------------------------------------------------
 
@@ -244,7 +286,7 @@ ALTER TABLE `user_2_group`
 -- AUTO_INCREMENT pour la table `commentaire`
 --
 ALTER TABLE `commentaire`
-  MODIFY `id_commentaire` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
+  MODIFY `id_commentaire` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
 
 --
 -- AUTO_INCREMENT pour la table `galerie`
@@ -262,7 +304,7 @@ ALTER TABLE `groupe`
 -- AUTO_INCREMENT pour la table `photos`
 --
 ALTER TABLE `photos`
-  MODIFY `id_photo` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
+  MODIFY `id_photo` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
 
 --
 -- AUTO_INCREMENT pour la table `user`
-- 
GitLab