admin&sync: insert format helper in database

This commit is contained in:
nemunaire 2018-09-09 22:28:39 +02:00 committed by Pierre-Olivier Mercier
commit 2a6fbd4e32
6 changed files with 22 additions and 17 deletions

View file

@ -160,6 +160,7 @@ CREATE TABLE IF NOT EXISTS exercice_keys(
id_key INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
id_exercice INTEGER NOT NULL,
type VARCHAR(255) NOT NULL,
help VARCHAR(255) NOT NULL,
cksum BINARY(64) NOT NULL,
FOREIGN KEY(id_exercice) REFERENCES exercices(id_exercice)
) DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;