New DB revision

This commit is contained in:
Némunaire 2013-10-10 04:45:24 +02:00
parent dc0f544e2b
commit e1a654359a

View File

@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- Client: localhost
-- Généré le: Mer 09 Octobre 2013 à 23:12
-- Généré le: Mer 09 Octobre 2013 à 23:52
-- Version du serveur: 5.5.32-log
-- Version de PHP: 5.5.0-pl0-gentoo
@ -38,6 +38,7 @@ CREATE TABLE IF NOT EXISTS `exercices` (
CREATE TABLE IF NOT EXISTS `exercice_files` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_exercice` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
@ -51,6 +52,7 @@ CREATE TABLE IF NOT EXISTS `exercice_files` (
CREATE TABLE IF NOT EXISTS `exercice_keys` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_exercice` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`format` enum('raw','md5','sha1','sha256','sha512','whirlpool') COLLATE utf8_unicode_ci NOT NULL,
`value` varbinary(100) NOT NULL,
PRIMARY KEY (`id`)