Fix feedfortests.sql due ti new DB schema

This commit is contained in:
Némunaire 2013-10-09 20:35:22 +02:00
parent cd29f491cc
commit c8796de767

View File

@ -1,23 +1,23 @@
INSERT INTO `fic2014`.`themes` ( INSERT INTO `fic2014`.`themes` (
`id` , `id` ,
`name` `filename`
) )
VALUES ( VALUES (
'1' , 'pdf' '1' , 'pdf.xml'
), ( ), (
'2' , 'flash' '2' , 'flash.xml'
), ( ), (
'3' , 'image' '3' , 'image.xml'
), ( ), (
'4' , 'social engineering' '4' , 'se.xml'
), ( ), (
'5' , 'memory dump' '5' , 'memdump.xml'
), ( ), (
'6' , 'java' '6' , 'java.xml'
), ( ), (
'7' , '.Net' '7' , 'dotnet.xml'
), ( ), (
'8' , 'traces réseau' '8' , 'pcap.xml'
); );
INSERT INTO `fic2014`.`users` ( INSERT INTO `fic2014`.`users` (
@ -85,91 +85,49 @@ VALUES (
INSERT INTO `fic2014`.`exercices` ( INSERT INTO `fic2014`.`exercices` (
`id` , `id` ,
`id_theme` , `id_theme` ,
`name` ,
`difficulty` ,
`points` `points`
) )
VALUES ( VALUES
'1', '1', 'Exercice 1', '1', '1' ('1', '1', '1'),
), ( ('2', '1', '5'),
'2', '1', 'Exercice 2', '2', '5' ('3', '1', '10'),
), ( ('4', '1', '20'),
'3', '1', 'Exercice 3', '3', '10' ('5', '1', '40'),
), ( ('6', '2', '1'),
'4', '1', 'Exercice 4', '3', '20' ('7', '2', '5'),
), ( ('8', '2', '10'),
'5', '1', 'Exercice 5', '4', '40' ('9', '2', '20'),
), ( ('10', '2', '40'),
'6', '2', 'Exercice 1', '1', '1' ('11', '3', '1'),
), ( ('12', '3', '5'),
'7', '2', 'Exercice 2', '2', '5' ('13', '3', '10'),
), ( ('14', '3', '20'),
'8', '2', 'Exercice 3', '3', '10' ('15', '3', '40'),
), ( ('16', '4', '1'),
'9', '2', 'Exercice 4', '3', '20' ('17', '4', '5'),
), ( ('18', '4', '10'),
'10', '2', 'Exercice 5', '4', '40' ('19', '4', '20'),
), ( ('20', '4', '40'),
'11', '3', 'Exercice 1', '1', '1' ('21', '5', '1'),
), ( ('22', '5', '5'),
'12', '3', 'Exercice 2', '2', '5' ('23', '5', '10'),
), ( ('24', '5', '20'),
'13', '3', 'Exercice 3', '3', '10' ('25', '5', '40'),
), ( ('26', '6', '1'),
'14', '3', 'Exercice 4', '3', '20' ('27', '6', '5'),
), ( ('28', '6', '10'),
'15', '3', 'Exercice 5', '4', '40' ('29', '6', '20'),
), ( ('30', '6', '40'),
'16', '4', 'Exercice 1', '1', '1' ('31', '7', '1'),
), ( ('32', '7', '5'),
'17', '4', 'Exercice 2', '2', '5' ('33', '7', '10'),
), ( ('34', '7', '20'),
'18', '4', 'Exercice 3', '3', '10' ('35', '7', '40'),
), ( ('36', '8', '1'),
'19', '4', 'Exercice 4', '3', '20' ('37', '8', '5'),
), ( ('38', '8', '10'),
'20', '4', 'Exercice 5', '4', '40' ('39', '8', '20'),
), ( ('40', '8', '40');
'21', '5', 'Exercice 1', '1', '1'
), (
'22', '5', 'Exercice 2', '2', '5'
), (
'23', '5', 'Exercice 3', '3', '10'
), (
'24', '5', 'Exercice 4', '3', '20'
), (
'25', '5', 'Exercice 5', '4', '40'
), (
'26', '6', 'Exercice 1', '1', '1'
), (
'27', '6', 'Exercice 2', '2', '5'
), (
'28', '6', 'Exercice 3', '3', '10'
), (
'29', '6', 'Exercice 4', '3', '20'
), (
'30', '6', 'Exercice 5', '4', '40'
), (
'31', '7', 'Exercice 1', '1', '1'
), (
'32', '7', 'Exercice 2', '2', '5'
), (
'33', '7', 'Exercice 3', '3', '10'
), (
'34', '7', 'Exercice 4', '3', '20'
), (
'35', '7', 'Exercice 5', '4', '40'
), (
'36', '8', 'Exercice 1', '1', '1'
), (
'37', '8', 'Exercice 2', '2', '5'
), (
'38', '8', 'Exercice 3', '3', '10'
), (
'39', '8', 'Exercice 4', '3', '20'
), (
'40', '8', 'Exercice 5', '4', '40'
);
INSERT INTO `fic2014`.`exercice_dependancies` ( INSERT INTO `fic2014`.`exercice_dependancies` (
`id` , `id` ,
@ -297,4 +255,3 @@ VALUES (
), ( ), (
'24', '9', '39', '2013-10-09 00:35:00' '24', '9', '39', '2013-10-09 00:35:00'
); );