|
@@ -28,7 +28,7 @@ SET time_zone = "+00:00";
|
28
|
28
|
|
29
|
29
|
CREATE TABLE IF NOT EXISTS `categorie` (
|
30
|
30
|
`nom_cat` varchar(30) NOT NULL
|
31
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
31
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
32
|
32
|
|
33
|
33
|
--
|
34
|
34
|
-- Contenu de la table `categorie`
|
|
@@ -50,7 +50,7 @@ CREATE TABLE IF NOT EXISTS `questions` (
|
50
|
50
|
`num_reponse` tinyint(4) NOT NULL,
|
51
|
51
|
`reponse1` varchar(50) NOT NULL DEFAULT '',
|
52
|
52
|
`reponse2` varchar(50) NOT NULL DEFAULT ''
|
53
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
53
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
54
|
54
|
|
55
|
55
|
--
|
56
|
56
|
-- Contenu de la table `questions`
|
|
@@ -86,7 +86,7 @@ CREATE TABLE IF NOT EXISTS `reponses` (
|
86
|
86
|
`reponse1` varchar(50) NOT NULL,
|
87
|
87
|
`reponse2` varchar(50) NOT NULL,
|
88
|
88
|
`nom_cat` varchar(30) NOT NULL
|
89
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
89
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
90
|
90
|
|
91
|
91
|
--
|
92
|
92
|
-- Contenu de la table `reponses`
|
|
@@ -109,7 +109,7 @@ INSERT INTO `reponses` (`reponse1`, `reponse2`, `nom_cat`) VALUES
|
109
|
109
|
CREATE TABLE IF NOT EXISTS `scores` (
|
110
|
110
|
`login` varchar(20) NOT NULL,
|
111
|
111
|
`score` int(11) NOT NULL
|
112
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
112
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
113
|
113
|
|
114
|
114
|
--
|
115
|
115
|
-- Contenu de la table `scores`
|
|
@@ -123,7 +123,7 @@ INSERT INTO `scores` (`login`, `score`) VALUES
|
123
|
123
|
('Joseph', 42),
|
124
|
124
|
('K.S.', 20),
|
125
|
125
|
('Loic', 10),
|
126
|
|
-('Marc F.', 0),
|
|
126
|
+('Marc F.', 0),
|
127
|
127
|
('Patrick', 24),
|
128
|
128
|
('Thomas', 33);
|
129
|
129
|
|