server/db/feed.sql
2013-11-08 20:30:33 +01:00

235 lines
5.7 KiB
SQL

INSERT INTO `teams` (
`id` ,
`team_name` ,
`key_hash` ,
`auth_level` ,
`slogan`
)
VALUES (
'1', 'Team1', '2134s65df423sdf132sdg431dsg', '1', 'Epita'
), (
'2', 'Team2', '2134s65df423sef132sdg431dsg', '1', 'Epita'
), (
'3', 'Team3', '2134s45df423sdf132sdg431dsg', '1', 'Epita'
), (
'4', 'Team4', '2134s65df423sdf131sdg431dsg', '1', 'Epita'
), (
'5', 'Team5', '2134s65df423sdf132sdg431dfg', '1', 'Epita'
), (
'6', 'Team6', '2134s65df423shf132sdg431dsg', '1', 'Epita'
), (
'7', 'Team7', '2134s65df423sdf1f2sdg431dsg', '1', 'Epita'
), (
'8', 'Team8', '2134s65df423sdf13zsdg431dsg', '1', 'Epita'
), (
'9', 'Team9', '2134s65df423sdf13csdg431dsg', '1', 'Epita'
), (
'10', 'Team10', '2134s65df4q3sdf132sdg431dsg', '1', 'Epita'
), (
'11', 'Team11', '2134s65df423sdf132s2g431dsg', '1', 'Epita'
), (
'12', 'Team12', '2134s65df423sdf132sdg401dsg', '1', 'Epita'
), (
'13' , 'Team13', '2134s65df423sdf132sdg401dsg', '1', 'Epita'
), (
'14' , 'Team14', '2134s65df423sdf132sdg401dsg', '1', 'Epita'
), (
'15' , 'Team15', '2134s65df423sdf132sdg401dsg', '1', 'Epita'
);
INSERT INTO `team_members` (
`id` ,
`id_team` ,
`firstname` ,
`lastname` ,
`nickname`
)
VALUES (
'1', '1', 'Alph', 'A', 'Alominia'
), (
'2', '1', 'Bet', 'A', 'CaptainSandwich'
), (
'3', '2', 'Charl', 'I', 'Tintin'
), (
'4', '2', 'Delt', 'A', 'Wolwerin'
), (
'5', '3', 'Ech', 'O', 'Homer'
), (
'6', '3', 'Fox', 'Trot', 'KevBG91'
), (
'7', '4', 'Gol', 'F', 'R2D2'
), (
'8', '4', 'Hot', 'El', 'Corbaine'
), (
'9', '5', 'Ind', 'Ia', 'Lelama'
), (
'10', '5', 'Jule', 'Yer', 'Betrave'
), (
'11', '6', 'Krev', 'Lard', 'BlueSunday'
), (
'12', '6', 'Lamb', 'Ada', 'Chatpitre'
), (
'13' , '7', 'Mi', 'Ke', 'Tournewsol'
), (
'14' , '7', 'Nov', 'Ember', 'Dasilva'
), (
'15' , '8', 'Os', 'Car', 'Laurie'
), (
'16' , '8', 'Pa', 'Pa', 'Nowel'
), (
'17' , '9', 'Que', 'Bec', 'Polyr'
), (
'18' , '9', 'Rom', 'Eo', 'Granola'
), (
'19' , '10', 'Sier', 'Ra', 'Petilus75'
), (
'20' , '11', 'Tan', 'Go', 'Lolilol42'
), (
'21' , '12', 'Uni', 'Form', 'JmLayfrite'
), (
'22' , '13', 'Vic', 'Tor', 'Minerva'
), (
'23' , '13', 'Whis', 'Key', 'Moly'
), (
'24' , '14', 'X', 'Rey', 'Mistigri'
), (
'25' , '14', 'Yan', 'Kee', 'Astroboy'
), (
'26' , '15', 'Zul', 'Lu', 'Salameche'
), (
'27' , '15', 'Ze', 'Ro', 'Mandy'
);
INSERT INTO `themes` (
`id` ,
`name`
)
VALUES (
'1' , 'pdf'
), (
'2' , 'flash'
), (
'3' , 'image'
), (
'4' , 'se'
), (
'5' , 'memdump'
), (
'6' , 'java'
), (
'7' , 'dotnet'
), (
'8' , 'pcap'
);
INSERT INTO `exercices` (
`id` ,
`id_theme` ,
`require` ,
`level` ,
`points` ,
`statement`
)
VALUES
('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', '23', '2', '5', 'Description 22'),
('23', '5', '25', '3', '10', 'Description 23'),
('24', '5', '21', '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', '28', '3', '10', 'Description 28'),
('29', '6', '27', '4', '20', 'Description 29'),
('30', '6', '29', '5', '40', 'Description 30'),
('31', '7', '', '1', '1', 'Description 31'),
('32', '7', '35', '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', '40', '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 `solved` (
`id` ,
`id_team` ,
`id_exercice` ,
`time`
)
VALUES (
'1', '1', '1', '2013-10-09 00:01:00'
), (
'2', '1', '2', '2013-10-09 00:05:00'
), (
'3', '2', '3', '2013-10-09 00:10:00'
), (
'4', '6', '4', '2013-10-09 00:30:00'
), (
'5', '3', '6', '2013-10-09 00:05:00'
), (
'6', '6', '7', '2013-10-09 00:10:00'
), (
'7', '10', '8', '2013-10-09 00:30:00'
), (
'8', '11', '9', '2013-10-09 00:40:00'
), (
'9', '4', '10', '2013-10-09 00:50:00'
), (
'10', '5', '11', '2013-10-09 00:01:00'
), (
'11', '1', '16', '2013-10-09 00:01:00'
), (
'12', '10', '21', '2013-10-09 00:01:00'
), (
'13', '9', '22', '2013-10-09 00:05:00'
), (
'14', '5', '22', '2013-10-09 00:15:00'
), (
'15', '3', '22', '2013-10-09 00:35:00'
), (
'16', '8', '25', '2013-10-09 00:45:00'
), (
'17', '7', '26', '2013-10-09 00:01:00'
), (
'18', '7', '31', '2013-10-09 00:01:00'
), (
'19', '10', '32', '2013-10-09 00:05:00'
), (
'20', '2', '33', '2013-10-09 00:10:00'
), (
'21', '11', '36', '2013-10-09 00:01:00'
), (
'22', '14', '37', '2013-10-09 00:05:00'
), (
'23', '9', '38', '2013-10-09 00:15:00'
), (
'24', '9', '39', '2013-10-09 00:35:00'
);
INSERT INTO `exercice_files` (`id`, `id_exercice`, `path`, `name`, `sha1`) VALUES
('1', '22', 'theme/exo/file1.txt', 'file1.txt', '38be7d1b981f2fb6a4a0a052453f887373dc1fe8'),
('2', '22', 'theme/exo/file2.txt', 'file2.txt', '639daad06642a8eb86821ff7649e86f5f59c6139');