Save MCQ diff

This commit is contained in:
nemunaire 2017-12-17 02:48:02 +01:00
commit 830dacd6f5
5 changed files with 28 additions and 2 deletions

View file

@ -205,6 +205,7 @@ CREATE TABLE IF NOT EXISTS exercice_tries(
id_exercice INTEGER NOT NULL,
id_team INTEGER NOT NULL,
time TIMESTAMP NOT NULL,
nbdiff INTEGER NOT NULL DEFAULT 0,
FOREIGN KEY(id_exercice) REFERENCES exercices(id_exercice),
FOREIGN KEY(id_team) REFERENCES teams(id_team)
);