fic2014.sql: change the id_user to id_team into solved table
Rename feedfortests.sql -> feed.sql
This commit is contained in:
parent
af58e84324
commit
e571151456
2 changed files with 6 additions and 6 deletions
|
|
@ -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 ;
|
||||
|
|
|
|||
Reference in a new issue