Fix DB schema by adding missing hash algorithms
This commit is contained in:
parent
cf4f70e7a5
commit
e1e9050522
2 changed files with 1 additions and 2 deletions
1
TODO
1
TODO
|
|
@ -3,4 +3,3 @@
|
|||
- Retrouver toutes les dépendances
|
||||
- Ajouter dans la conf de nginx un ssl_dhparam + générer le fichier dans un script
|
||||
- Mettre à jour Smarty (et passer en « secure mode » ?)
|
||||
- Admin, exercice: pas normal qu'il y ait des réponses RAW dans les data de tests
|
||||
|
|
|
|||
|
|
@ -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 ;
|
||||
|
|
|
|||
Reference in a new issue