Add issue field for exercice, to be able to communicate about problem with exercice
This commit is contained in:
parent
0654033721
commit
44d335bc9f
8 changed files with 43 additions and 17 deletions
|
@ -119,6 +119,8 @@ CREATE TABLE IF NOT EXISTS exercices(
|
|||
path VARCHAR(191) NOT NULL UNIQUE,
|
||||
statement TEXT NOT NULL,
|
||||
overview TEXT NOT NULL,
|
||||
issue TEXT NOT NULL,
|
||||
issue_kind ENUM('primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark') NOT NULL DEFAULT 'info',
|
||||
depend INTEGER,
|
||||
gain INTEGER NOT NULL,
|
||||
coefficient_cur FLOAT NOT NULL DEFAULT 1.0,
|
||||
|
|
Reference in a new issue