Modify feedfortests.sql to match with new DB
This commit is contained in:
parent
68dcb996c9
commit
0035b984ff
@ -1,4 +1,69 @@
|
||||
INSERT INTO `fic2014`.`themes` (
|
||||
INSERT INTO `fic`.`users` (
|
||||
`id` ,
|
||||
`username` ,
|
||||
`password` ,
|
||||
`auth_level` ,
|
||||
`firstname` ,
|
||||
`lastname` ,
|
||||
`company`
|
||||
)
|
||||
VALUES (
|
||||
'1', 'Alpha', '2134s65df423sdf132sdg431dsg', '1', 'Alph', 'A', 'Epitra'
|
||||
), (
|
||||
'2', 'Beta', '2134s65df423sef132sdg431dsg', '1', 'Bet', 'A', 'Epitra'
|
||||
), (
|
||||
'3', 'Charli', '2134s45df423sdf132sdg431dsg', '1', 'Charl', 'I', 'Epitra'
|
||||
), (
|
||||
'4', 'Delta', '2134s65df423sdf131sdg431dsg', '1', 'Delt', 'A', 'Epitra'
|
||||
), (
|
||||
'5', 'Echo', '2134s65df423sdf132sdg431dfg', '1', 'Ech', 'O', 'Epitra'
|
||||
), (
|
||||
'6', 'Foxtrot', '2134s65df423shf132sdg431dsg', '1', 'Fox', 'Trot', 'Epitra'
|
||||
), (
|
||||
'7', 'Golf', '2134s65df423sdf1f2sdg431dsg', '1', 'Gol', 'F', 'Epitra'
|
||||
), (
|
||||
'8', 'Hotel', '2134s65df423sdf13zsdg431dsg', '1', 'Hot', 'El', 'Epitra'
|
||||
), (
|
||||
'9', 'India', '2134s65df423sdf13csdg431dsg', '1', 'Ind', 'Ia', 'Epitra'
|
||||
), (
|
||||
'10', 'Juliet', '2134s65df4q3sdf132sdg431dsg', '1', 'Jule', 'Yer', 'Epitra'
|
||||
), (
|
||||
'11', 'Kevlar', '2134s65df423sdf132s2g431dsg', '1', 'Krev', 'Lard', 'Epitra'
|
||||
), (
|
||||
'12', 'Lambda', '2134s65df423sdf132sdg401dsg', '1', 'Lamb', 'Ada', 'Epitra'
|
||||
), (
|
||||
'13' , 'Mike', '2134s65df423sdf132sdg401dsg', '1', 'Mi', 'Ke', 'Epitra'
|
||||
), (
|
||||
'14' , 'November', '2134s65df423sdf132sdg401dsg', '1', 'Nov', 'Ember', 'Epitra'
|
||||
), (
|
||||
'15' , 'Oscar', '2134s65df423sdf132sdg401dsg', '1', 'Os', 'Car', 'Epitra'
|
||||
), (
|
||||
'16' , 'Papa', '2134s65df423sdf132sdg401dsg', '1', 'Pa', 'Pa', 'Epitra'
|
||||
), (
|
||||
'17' , 'Quebec', '2134s65df423sdf132sdg401dsg', '1', 'Que', 'Bec', 'Epitra'
|
||||
), (
|
||||
'18' , 'Romeo', '2134s65df423sdf132sdg401dsg', '1', 'Rom', 'Eo', 'Epitra'
|
||||
), (
|
||||
'19' , 'Sierra', '2134s65df423sdf132sdg401dsg', '1', 'Sier', 'Ra', 'Epitra'
|
||||
), (
|
||||
'20' , 'Tango', '2134s65df423sdf132sdg401dsg', '1', 'Tan', 'Go', 'Epitra'
|
||||
), (
|
||||
'21' , 'Uniform', '2134s65df423sdf132sdg401dsg', '1', 'Uni', 'Form', 'Epitra'
|
||||
), (
|
||||
'22' , 'Victor', '2134s65df423sdf132sdg401dsg', '1', 'Vic', 'Tor', 'Epitra'
|
||||
), (
|
||||
'23' , 'Whiskey', '2134s65df423sdf132sdg401dsg', '1', 'Whis', 'Key', 'Epitra'
|
||||
), (
|
||||
'24' , 'X-ray', '2134s65df423sdf132sdg401dsg', '1', 'X', 'Rey', 'Epitra'
|
||||
), (
|
||||
'25' , 'Yankee', '2134s65df423sdf132sdg401dsg', '1', 'Yan', 'Kee', 'Epitra'
|
||||
), (
|
||||
'26' , 'Zulu', '2134s65df423sdf132sdg401dsg', '1', 'Zul', 'Lu', 'Epitra'
|
||||
), (
|
||||
'27' , 'Zero', '2134s65df423sdf132sdg401dsg', '1', 'Ze', 'Ro', 'Epitra'
|
||||
);
|
||||
|
||||
INSERT INTO `fic`.`themes` (
|
||||
`id` ,
|
||||
`filename`
|
||||
)
|
||||
@ -20,187 +85,57 @@ VALUES (
|
||||
'8' , 'pcap.xml'
|
||||
);
|
||||
|
||||
INSERT INTO `fic2014`.`users` (
|
||||
`id` ,
|
||||
`username` ,
|
||||
`password` ,
|
||||
`auth_level`
|
||||
)
|
||||
VALUES (
|
||||
'1' , 'Alpha', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'2' , 'Bravo', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'3' , 'Charlie', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'4' , 'Delta', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'5' , 'Echo', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'6' , 'Foxtrot', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'7' , 'Golf', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'8' , 'Hotel', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'9' , 'India', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'10' , 'Juliet', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'11' , 'Kilo', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'12' , 'Lima', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'13' , 'Mike', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'14' , 'November', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'15' , 'Oscar', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'16' , 'Papa', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'17' , 'Quebec', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'18' , 'Romeo', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'19' , 'Sierra', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'20' , 'Tango', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'21' , 'Uniform', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'22' , 'Victor', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'23' , 'Whiskey', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'24' , 'X-ray', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'25' , 'Yankee', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'26' , 'Zulu', UNHEX( '' ) , '1'
|
||||
), (
|
||||
'27' , 'Zero', UNHEX( '' ) , '1'
|
||||
);
|
||||
|
||||
INSERT INTO `fic2014`.`exercices` (
|
||||
INSERT INTO `fic`.`exercices` (
|
||||
`id` ,
|
||||
`id_theme` ,
|
||||
`points`
|
||||
`require` ,
|
||||
`level` ,
|
||||
`points` ,
|
||||
`statement`
|
||||
)
|
||||
VALUES
|
||||
('1', '1', '1'),
|
||||
('2', '1', '5'),
|
||||
('3', '1', '10'),
|
||||
('4', '1', '20'),
|
||||
('5', '1', '40'),
|
||||
('6', '2', '1'),
|
||||
('7', '2', '5'),
|
||||
('8', '2', '10'),
|
||||
('9', '2', '20'),
|
||||
('10', '2', '40'),
|
||||
('11', '3', '1'),
|
||||
('12', '3', '5'),
|
||||
('13', '3', '10'),
|
||||
('14', '3', '20'),
|
||||
('15', '3', '40'),
|
||||
('16', '4', '1'),
|
||||
('17', '4', '5'),
|
||||
('18', '4', '10'),
|
||||
('19', '4', '20'),
|
||||
('20', '4', '40'),
|
||||
('21', '5', '1'),
|
||||
('22', '5', '5'),
|
||||
('23', '5', '10'),
|
||||
('24', '5', '20'),
|
||||
('25', '5', '40'),
|
||||
('26', '6', '1'),
|
||||
('27', '6', '5'),
|
||||
('28', '6', '10'),
|
||||
('29', '6', '20'),
|
||||
('30', '6', '40'),
|
||||
('31', '7', '1'),
|
||||
('32', '7', '5'),
|
||||
('33', '7', '10'),
|
||||
('34', '7', '20'),
|
||||
('35', '7', '40'),
|
||||
('36', '8', '1'),
|
||||
('37', '8', '5'),
|
||||
('38', '8', '10'),
|
||||
('39', '8', '20'),
|
||||
('40', '8', '40');
|
||||
('1', '1', '', '1', '1', 'Description 1'),
|
||||
('2', '1', '1', '2', '5', 'Description 2'),
|
||||
('3', '1', '2', '3', '10', 'Description 3'),
|
||||
('4', '1', '3', '4', '20', 'Description 4'),
|
||||
('5', '1', '4', '5', '40', 'Description 5'),
|
||||
('6', '2', '', '1', '1', 'Description 6'),
|
||||
('7', '2', '6', '2', '5', 'Description 7'),
|
||||
('8', '2', '7', '3', '10', 'Description 8'),
|
||||
('9', '2', '8', '4', '20', 'Description 9'),
|
||||
('10', '2', '9', '5', '40', 'Description 10'),
|
||||
('11', '3', '', '1', '1', 'Description 11'),
|
||||
('12', '3', '11', '2', '5', 'Description 12'),
|
||||
('13', '3', '12', '3', '10', 'Description 13'),
|
||||
('14', '3', '13', '4', '20', 'Description 14'),
|
||||
('15', '3', '14', '5', '40', 'Description 15'),
|
||||
('16', '4', '', '1', '1', 'Description 16'),
|
||||
('17', '4', '16', '2', '5', 'Description 17'),
|
||||
('18', '4', '17', '3', '10', 'Description 18'),
|
||||
('19', '4', '18', '4', '20', 'Description 19'),
|
||||
('20', '4', '19', '5', '40', 'Description 20'),
|
||||
('21', '5', '', '1', '1', 'Description 21'),
|
||||
('22', '5', '21', '2', '5', 'Description 22'),
|
||||
('23', '5', '22', '3', '10', 'Description 23'),
|
||||
('24', '5', '23', '4', '20', 'Description 24'),
|
||||
('25', '5', '24', '5', '40', 'Description 25'),
|
||||
('26', '6', '', '1', '1', 'Description 26'),
|
||||
('27', '6', '26', '2', '5', 'Description 27'),
|
||||
('28', '6', '27', '3', '10', 'Description 28'),
|
||||
('29', '6', '28', '4', '20', 'Description 29'),
|
||||
('30', '6', '29', '5', '40', 'Description 30'),
|
||||
('31', '7', '', '1', '1', 'Description 31'),
|
||||
('32', '7', '30', '2', '5', 'Description 32'),
|
||||
('33', '7', '31', '3', '10', 'Description 33'),
|
||||
('34', '7', '32', '4', '20', 'Description 34'),
|
||||
('35', '7', '33', '5', '40', 'Description 35'),
|
||||
('36', '8', '', '1', '1', 'Description 36'),
|
||||
('37', '8', '35', '2', '5', 'Description 37'),
|
||||
('38', '8', '36', '3', '10', 'Description 38'),
|
||||
('39', '8', '37', '4', '20', 'Description 39'),
|
||||
('40', '8', '38', '5', '40', 'Description 40');
|
||||
|
||||
INSERT INTO `fic2014`.`exercice_dependancies` (
|
||||
`id` ,
|
||||
`id_exercice` ,
|
||||
`id_dependence`
|
||||
)
|
||||
VALUES (
|
||||
'1', '2', '1'
|
||||
), (
|
||||
'2', '3', '2'
|
||||
), (
|
||||
'3', '4', '3'
|
||||
), (
|
||||
'4', '5', '4'
|
||||
), (
|
||||
'5', '7', '6'
|
||||
), (
|
||||
'6', '8', '7'
|
||||
), (
|
||||
'7', '9', '8'
|
||||
), (
|
||||
'8', '10', '9'
|
||||
), (
|
||||
'9', '12', '11'
|
||||
), (
|
||||
'10', '13', '12'
|
||||
), (
|
||||
'11', '14', '13'
|
||||
), (
|
||||
'12', '15', '14'
|
||||
), (
|
||||
'13', '17', '16'
|
||||
), (
|
||||
'14', '18', '17'
|
||||
), (
|
||||
'15', '19', '18'
|
||||
), (
|
||||
'16', '20', '19'
|
||||
), (
|
||||
'17', '22', '21'
|
||||
), (
|
||||
'18', '23', '22'
|
||||
), (
|
||||
'19', '24', '23'
|
||||
), (
|
||||
'20', '25', '24'
|
||||
), (
|
||||
'21', '27', '26'
|
||||
), (
|
||||
'22', '28', '27'
|
||||
), (
|
||||
'23', '29', '28'
|
||||
), (
|
||||
'24', '30', '29'
|
||||
), (
|
||||
'25', '32', '31'
|
||||
), (
|
||||
'26', '33', '32'
|
||||
), (
|
||||
'27', '34', '33'
|
||||
), (
|
||||
'28', '35', '34'
|
||||
), (
|
||||
'29', '37', '36'
|
||||
), (
|
||||
'30', '38', '37'
|
||||
), (
|
||||
'31', '39', '38'
|
||||
), (
|
||||
'32', '40', '39'
|
||||
);
|
||||
|
||||
INSERT INTO `fic2014`.`solved` (
|
||||
INSERT INTO `fic`.`solved` (
|
||||
`id` ,
|
||||
`id_user` ,
|
||||
`id_exercice` ,
|
||||
|
Loading…
Reference in New Issue
Block a user