New field for exercice to display a text after exercice validation

This commit is contained in:
nemunaire 2018-12-02 17:53:26 +01:00
parent 87471acf98
commit 21697f01ca
9 changed files with 43 additions and 18 deletions

View file

@ -128,6 +128,7 @@ CREATE TABLE IF NOT EXISTS exercices(
gain INTEGER NOT NULL,
coefficient_cur FLOAT NOT NULL DEFAULT 1.0,
video_uri VARCHAR(255) NOT NULL,
finished TEXT NOT NULL,
FOREIGN KEY(id_theme) REFERENCES themes(id_theme),
FOREIGN KEY(depend) REFERENCES exercices(id_exercice)
) DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;