Able to make corrections

This commit is contained in:
nemunaire 2022-02-28 10:52:27 +01:00
parent 6f958bdab4
commit d77e6e2eac
22 changed files with 1085 additions and 80 deletions

1
db.go
View file

@ -137,6 +137,7 @@ CREATE TABLE IF NOT EXISTS correction_templates(
id_template INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
id_question INTEGER NOT NULL,
label VARCHAR(255) NOT NULL,
re VARCHAR(255) NOT NULL,
score INTEGER,
score_explanation TEXT,
FOREIGN KEY(id_question) REFERENCES survey_quests(id_question)