fic2014.sql: change the id_user to id_team into solved table

Rename feedfortests.sql -> feed.sql
This commit is contained in:
Li Chen 2013-11-04 23:13:54 +01:00
parent af58e84324
commit e571151456
2 changed files with 6 additions and 6 deletions

View File

@ -174,7 +174,7 @@ VALUES
INSERT INTO `solved` (
`id` ,
`id_user` ,
`id_team` ,
`id_exercice` ,
`time`
)
@ -205,9 +205,9 @@ VALUES (
), (
'13', '9', '22', '2013-10-09 00:05:00'
), (
'14', '5', '23', '2013-10-09 00:15:00'
'14', '5', '22', '2013-10-09 00:15:00'
), (
'15', '3', '24', '2013-10-09 00:35:00'
'15', '3', '22', '2013-10-09 00:35:00'
), (
'16', '8', '25', '2013-10-09 00:45:00'
), (

View File

@ -23,7 +23,7 @@ SET time_zone = "+00:00";
CREATE TABLE IF NOT EXISTS `exercices` (
`id` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`id_theme` int(10) unsigned NOT NULL,
`require` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`require` varchar(100) COLLATE utf8_unicode_ci NULL,
`level` tinyint(4) NOT NULL,
`points` smallint(6) NOT NULL,
`statement` text COLLATE utf8_unicode_ci NOT NULL,
@ -84,8 +84,8 @@ CREATE TABLE IF NOT EXISTS `sessions` (
CREATE TABLE IF NOT EXISTS `solved` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_user` int(10) unsigned NOT NULL,
`id_exercice` int(10) unsigned NOT NULL,
`id_team` int(10) unsigned NOT NULL,
`id_exercice` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`time` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;