Able to make corrections
This commit is contained in:
parent
6f958bdab4
commit
d77e6e2eac
22 changed files with 1085 additions and 80 deletions
1
db.go
1
db.go
|
@ -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)
|
||||
|
|
Reference in a new issue