Fix DB schema by adding missing hash algorithms

This commit is contained in:
nemunaire 2014-11-10 18:14:51 +01:00
commit e1e9050522
2 changed files with 1 additions and 2 deletions

View file

@ -68,7 +68,7 @@ CREATE TABLE IF NOT EXISTS `exercice_tries` (
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') COLLATE utf8_unicode_ci NOT NULL,
`format` enum('raw','md5','sha1','sha224','sha256','sha384','sha512','whirlpool') COLLATE utf8_unicode_ci NOT NULL,
`value` varbinary(150) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;