Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Roca Philippe
DanEval
Commits
d7b5062b
Commit
d7b5062b
authored
May 29, 2019
by
Roca Philippe
Browse files
BDD ok pour le 6 juin
parent
6971271b
Changes
2
Hide whitespace changes
Inline
Side-by-side
bootstrap/app.php
View file @
d7b5062b
...
...
@@ -9,7 +9,7 @@ $app = new \Slim\App([
$container
=
$app
->
getContainer
();
$container
[
'db'
]
=
function
(){
return
new
PDO
(
'mysql:host=localhost:8889;dbname=dane_eval_
3
'
,
'root'
,
'root'
);
return
new
PDO
(
'mysql:host=localhost:8889;dbname=dane_eval_
4
'
,
'root'
,
'root'
);
};
...
...
ressources/daneval.sql
View file @
d7b5062b
...
...
@@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: localhost:8889
-- Generation Time: May
15
, 2019 at 0
3:01
PM
-- Generation Time: May
29
, 2019 at 0
1:27
PM
-- Server version: 5.7.23
-- PHP Version: 7.1.22
...
...
@@ -11,7 +11,7 @@ SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET
time_zone
=
"+00:00"
;
--
-- Database: `dane_eval_
3
`
-- Database: `dane_eval_
4
`
--
-- --------------------------------------------------------
...
...
@@ -42,29 +42,13 @@ CREATE TABLE `clients` (
`administration`
int
(
11
)
DEFAULT
'0'
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
--
-- Table structure for table `evaluations`
--
CREATE
TABLE
`evaluations`
(
`id`
int
(
11
)
UNSIGNED
NOT
NULL
,
`titre`
varchar
(
255
)
NOT
NULL
DEFAULT
'Titre'
,
`soustitre`
varchar
(
255
)
DEFAULT
NULL
,
`annee`
int
(
11
)
DEFAULT
NULL
,
`mode`
varchar
(
255
)
DEFAULT
'unique'
,
`actif`
int
(
11
)
DEFAULT
'1'
,
`debut`
varchar
(
255
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
-- Dumping data for table `evaluations`
-- Dumping data for table `clients`
--
INSERT
INTO
`
evaluation
s`
(
`id`
,
`
titre`
,
`soustitre`
,
`annee`
,
`mode`
,
`actif`
,
`debut
`
)
VALUES
(
1
,
'
Robotyc'
,
'Finale départementale
'
,
2019
,
'unique
'
,
1
,
'09:00:00'
),
(
2
,
'
Robocup Junior'
,
'Finale IDF
'
,
2019
,
'qrcode'
,
0
,
'09:00:00'
);
INSERT
INTO
`
client
s`
(
`id`
,
`
nom`
,
`ip`
,
`premiere_connexion`
,
`autorisation`
,
`administration
`
)
VALUES
(
1
,
'
localhost'
,
'::1
'
,
'
2019
-05-29
'
,
0
,
0
),
(
2
,
'
172.18.0.157'
,
'172.18.0.157
'
,
'
2019
-05-29'
,
0
,
0
);
-- --------------------------------------------------------
...
...
@@ -120,17 +104,17 @@ CREATE TABLE `equipes` (
--
INSERT
INTO
`equipes`
(
`id`
,
`nom`
,
`etablissement`
,
`id_evaluation`
,
`id_session`
,
`actif`
)
VALUES
(
1
,
'
François
Mauriac'
,
'Houdan'
,
1
,
1
,
0
),
(
2
,
'Galilée'
,
'Limay'
,
1
,
1
,
0
),
(
3
,
'Le bois d
\'
Aulne'
,
'Conflans Sainte-Honorine'
,
1
,
1
,
0
),
(
4
,
'
Louis
Pasteur'
,
'Mantes-la-Jolie'
,
1
,
1
,
0
),
(
5
,
'
Louis
Pergaud'
,
'Maurepas'
,
1
,
1
,
0
),
(
6
,
'
Marcel
Pagnol'
,
'Bonnières'
,
1
,
1
,
0
),
(
7
,
'Montaigne'
,
'Conflans Sainte-Honorine'
,
1
,
1
,
0
),
(
8
,
'
Paul
Bert'
,
'Chatou'
,
1
,
1
,
0
),
(
9
,
'
Paule
Verlaine'
,
'Les Mureaux'
,
1
,
1
,
0
),
(
10
,
'
René
Descartes'
,
'Fontenay
Le
Fleury'
,
1
,
1
,
0
),
(
11
,
'Anhèo Glidji'
,
'Togo'
,
1
,
1
,
0
),
(
1
,
'
Clg F.
Mauriac'
,
'Houdan'
,
1
,
1
,
0
),
(
2
,
'
Clg
Galilée'
,
'Limay'
,
1
,
1
,
0
),
(
3
,
'
Clg
Le bois d
\'
Aulne'
,
'Conflans Sainte-Honorine'
,
1
,
1
,
0
),
(
4
,
'
Clg L.
Pasteur'
,
'Mantes-la-Jolie'
,
1
,
1
,
0
),
(
5
,
'
Clg L.
Pergaud'
,
'Maurepas'
,
1
,
1
,
0
),
(
6
,
'
Clg M.
Pagnol'
,
'Bonnières
sur Seine
'
,
1
,
1
,
0
),
(
7
,
'
Clg
Montaigne'
,
'Conflans Sainte-Honorine'
,
1
,
1
,
0
),
(
8
,
'
Clg P.
Bert'
,
'Chatou'
,
1
,
1
,
0
),
(
9
,
'
Clg P.
Verlaine'
,
'Les Mureaux'
,
1
,
1
,
0
),
(
10
,
'
Clg R.
Descartes'
,
'Fontenay
-
Le
-
Fleury'
,
1
,
1
,
0
),
(
11
,
'
Lyc
Anhèo Glidji'
,
'Togo'
,
1
,
1
,
0
),
(
12
,
'DANCE BOT'
,
'Collège Claude Chappe'
,
2
,
17
,
0
),
(
13
,
'FabLab_Paul_Valery'
,
'Lycée Paul Valéry'
,
2
,
17
,
0
),
(
14
,
'Fresnel1 '
,
'Lycée Fresnel'
,
2
,
17
,
0
),
...
...
@@ -140,6 +124,30 @@ INSERT INTO `equipes` (`id`, `nom`, `etablissement`, `id_evaluation`, `id_sessio
-- --------------------------------------------------------
--
-- Table structure for table `evaluations`
--
CREATE
TABLE
`evaluations`
(
`id`
int
(
11
)
UNSIGNED
NOT
NULL
,
`titre`
varchar
(
255
)
NOT
NULL
DEFAULT
'Titre'
,
`soustitre`
varchar
(
255
)
DEFAULT
NULL
,
`annee`
int
(
11
)
DEFAULT
NULL
,
`mode`
varchar
(
255
)
DEFAULT
'unique'
,
`actif`
int
(
11
)
DEFAULT
'1'
,
`debut`
varchar
(
255
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
-- Dumping data for table `evaluations`
--
INSERT
INTO
`evaluations`
(
`id`
,
`titre`
,
`soustitre`
,
`annee`
,
`mode`
,
`actif`
,
`debut`
)
VALUES
(
1
,
'Robotyc'
,
'Finale départementale'
,
2019
,
'unique'
,
1
,
'09:00:00'
),
(
2
,
'Robocup Junior'
,
'Finale IDF'
,
2019
,
'qrcode'
,
0
,
'09:00:00'
);
-- --------------------------------------------------------
--
-- Table structure for table `liaisons_categories_questions`
--
...
...
@@ -188,38 +196,36 @@ CREATE TABLE `planning_actions` (
--
INSERT
INTO
`planning_actions`
(
`id`
,
`id_site`
,
`titre`
,
`id_evaluation`
,
`id_equipe`
,
`id_session`
,
`debut`
,
`duree`
)
VALUES
(
1
,
1
,
'Ouverture'
,
1
,
0
,
0
,
'09:00:00'
,
30
),
(
2
,
1
,
'Installation'
,
1
,
11
,
0
,
'09:30:00'
,
30
),
(
3
,
1
,
''
,
1
,
11
,
0
,
'10:00:00'
,
30
),
(
4
,
1
,
'Installation'
,
1
,
1
,
0
,
'10:30:00'
,
30
),
(
5
,
1
,
''
,
1
,
1
,
0
,
'11:00:00'
,
30
),
(
6
,
1
,
'Installation'
,
1
,
2
,
0
,
'11:30:00'
,
30
),
(
7
,
1
,
''
,
1
,
2
,
0
,
'12:00:00'
,
30
),
(
8
,
1
,
'Pause Jury'
,
1
,
0
,
0
,
'12:30:00'
,
15
),
(
9
,
1
,
'Installation'
,
1
,
3
,
0
,
'12:45:00'
,
15
),
(
10
,
1
,
''
,
1
,
3
,
0
,
'13:00:00'
,
30
),
(
11
,
1
,
'Installation'
,
1
,
4
,
0
,
'13:30:00'
,
30
),
(
12
,
1
,
''
,
1
,
4
,
0
,
'14:00:00'
,
30
),
(
13
,
1
,
'Installation'
,
1
,
5
,
0
,
'14:30:00'
,
30
),
(
14
,
1
,
''
,
1
,
5
,
0
,
'15:30:00'
,
30
),
(
15
,
1
,
'Déliberation Jury'
,
1
,
0
,
0
,
'16:00:00'
,
30
),
(
16
,
1
,
'Remise des prix'
,
1
,
0
,
0
,
'16:30:00'
,
30
),
(
17
,
4
,
'Ouverture'
,
1
,
0
,
0
,
'09:00:00'
,
30
),
(
18
,
4
,
'Déliberation Jury'
,
1
,
0
,
0
,
'16:00:00'
,
30
),
(
19
,
4
,
'Remise des prix'
,
1
,
0
,
0
,
'16:30:00'
,
30
),
(
20
,
5
,
''
,
2
,
12
,
18
,
'09:00:00'
,
30
),
(
21
,
5
,
''
,
2
,
13
,
18
,
'09:30:00'
,
30
),
(
22
,
5
,
''
,
2
,
14
,
18
,
'10:00:00'
,
30
),
(
23
,
6
,
''
,
2
,
16
,
24
,
'09:00:00'
,
30
),
(
24
,
6
,
''
,
2
,
15
,
24
,
'09:30:00'
,
30
),
(
25
,
6
,
''
,
2
,
17
,
24
,
'10:00:00'
,
30
),
(
26
,
7
,
''
,
2
,
16
,
25
,
'10:30:00'
,
30
),
(
27
,
7
,
''
,
2
,
15
,
25
,
'11:00:00'
,
30
),
(
28
,
7
,
''
,
2
,
17
,
25
,
'11:30:00'
,
30
),
(
29
,
6
,
''
,
2
,
12
,
19
,
'10:30:00'
,
30
),
(
30
,
6
,
''
,
2
,
13
,
19
,
'11:00:00'
,
30
),
(
31
,
6
,
''
,
2
,
14
,
19
,
'11:30:00'
,
30
),
(
32
,
5
,
'Fermeture de la salle'
,
2
,
0
,
0
,
'17:00:00'
,
30
);
(
1
,
1
,
'Lancement'
,
1
,
0
,
0
,
'09:00:00'
,
15
),
(
2
,
4
,
'Lancement'
,
1
,
0
,
0
,
'09:00:00'
,
15
),
(
3
,
1
,
'Installation'
,
1
,
2
,
0
,
'09:15:00'
,
25
),
(
4
,
4
,
'Installation'
,
1
,
4
,
0
,
'09:15:00'
,
25
),
(
5
,
1
,
''
,
1
,
2
,
0
,
'09:40:00'
,
25
),
(
6
,
1
,
'Installation'
,
1
,
5
,
0
,
'10:05:00'
,
25
),
(
7
,
1
,
''
,
1
,
5
,
0
,
'10:30:00'
,
25
),
(
8
,
1
,
'Installation'
,
1
,
9
,
0
,
'10:55:00'
,
25
),
(
9
,
1
,
''
,
1
,
9
,
0
,
'11:20:00'
,
25
),
(
10
,
1
,
'Installation'
,
1
,
3
,
0
,
'11:45:00'
,
25
),
(
11
,
1
,
'Pause jury'
,
1
,
0
,
0
,
'12:10:00'
,
40
),
(
12
,
1
,
''
,
1
,
3
,
0
,
'12:50:00'
,
25
),
(
13
,
1
,
'Installation'
,
1
,
1
,
0
,
'13:15:00'
,
25
),
(
14
,
1
,
''
,
1
,
1
,
0
,
'13:40:00'
,
25
),
(
15
,
1
,
'Installation'
,
1
,
11
,
0
,
'14:05:00'
,
25
),
(
16
,
1
,
''
,
1
,
11
,
0
,
'14:30:00'
,
25
),
(
17
,
4
,
''
,
1
,
4
,
0
,
'10:05:00'
,
25
),
(
18
,
4
,
'Installation'
,
1
,
6
,
0
,
'10:30:00'
,
25
),
(
19
,
4
,
''
,
1
,
6
,
0
,
'10:55:00'
,
25
),
(
20
,
4
,
'Installation'
,
1
,
10
,
0
,
'11:20:00'
,
25
),
(
21
,
4
,
''
,
1
,
10
,
0
,
'11:45:00'
,
25
),
(
22
,
4
,
'Pause jury'
,
1
,
0
,
0
,
'12:10:00'
,
40
),
(
23
,
4
,
'Installation'
,
1
,
7
,
0
,
'12:50:00'
,
25
),
(
24
,
4
,
''
,
1
,
7
,
0
,
'13:15:00'
,
25
),
(
25
,
4
,
'Installation'
,
1
,
8
,
0
,
'13:40:00'
,
25
),
(
26
,
4
,
''
,
1
,
8
,
0
,
'14:05:00'
,
25
),
(
27
,
1
,
'Délibération jury'
,
1
,
0
,
0
,
'14:55:00'
,
20
),
(
28
,
4
,
'Délibération jury'
,
1
,
0
,
0
,
'14:55:00'
,
20
),
(
29
,
1
,
'Remise des prix'
,
1
,
0
,
0
,
'15:15:00'
,
30
),
(
30
,
4
,
'Remise des prix'
,
1
,
0
,
0
,
'15:15:00'
,
30
);
-- --------------------------------------------------------
...
...
@@ -266,7 +272,7 @@ CREATE TABLE `questions` (
INSERT
INTO
`questions`
(
`id`
,
`id_groupe`
,
`titre`
,
`commentaire`
,
`points`
,
`coefficient`
,
`avant`
)
VALUES
(
1
,
8
,
'Cour de coeur du jury'
,
''
,
10
,
1
,
NULL
),
(
2
,
6
,
'10. Qualité du support multimédia'
,
''
,
10
,
1
,
1
),
(
2
,
6
,
'10. Qualité du support multimédia'
,
''
,
10
,
1
,
NULL
),
(
3
,
6
,
'20. Présentation du projet en établissement'
,
'Mise en place du projet dans la classe'
,
10
,
1
,
NULL
),
(
4
,
6
,
'30. Présentation de l
\'
équipe et de son travail'
,
'Les membres de l
\'
équipe et le travail de chacun'
,
1
,
10
,
NULL
),
(
5
,
6
,
'40. Présentation du robot et son fonctionnement'
,
''
,
10
,
1
,
NULL
),
...
...
@@ -390,12 +396,6 @@ ALTER TABLE `categories`
ALTER
TABLE
`clients`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `evaluations`
--
ALTER
TABLE
`evaluations`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `configuration`
--
...
...
@@ -414,6 +414,12 @@ ALTER TABLE `delegations`
ALTER
TABLE
`equipes`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `evaluations`
--
ALTER
TABLE
`evaluations`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `liaisons_categories_questions`
--
...
...
@@ -470,12 +476,6 @@ ALTER TABLE `categories`
-- AUTO_INCREMENT for table `clients`
--
ALTER
TABLE
`clients`
MODIFY
`id`
int
(
11
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
;
--
-- AUTO_INCREMENT for table `evaluations`
--
ALTER
TABLE
`evaluations`
MODIFY
`id`
int
(
11
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
;
--
...
...
@@ -496,6 +496,12 @@ ALTER TABLE `delegations`
ALTER
TABLE
`equipes`
MODIFY
`id`
int
(
11
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
18
;
--
-- AUTO_INCREMENT for table `evaluations`
--
ALTER
TABLE
`evaluations`
MODIFY
`id`
int
(
11
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
;
--
-- AUTO_INCREMENT for table `liaisons_categories_questions`
--
...
...
@@ -512,7 +518,7 @@ ALTER TABLE `liaisons_clients_questionnaires`
-- AUTO_INCREMENT for table `planning_actions`
--
ALTER
TABLE
`planning_actions`
MODIFY
`id`
int
(
11
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
3
;
MODIFY
`id`
int
(
11
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
1
;
--
-- AUTO_INCREMENT for table `planning_sites`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment