New list response
This commit is contained in:
parent
2e4f0eaf30
commit
24f0e82571
4 changed files with 56 additions and 2 deletions
2
db.go
2
db.go
|
@ -99,7 +99,7 @@ CREATE TABLE IF NOT EXISTS survey_quests(
|
|||
title VARCHAR(255),
|
||||
description TEXT,
|
||||
placeholder VARCHAR(255),
|
||||
kind ENUM('text', 'int', 'ucq', 'mcq') NOT NULL,
|
||||
kind ENUM('text', 'int', 'ucq', 'mcq', 'list', 'list1', 'list2', 'list3', 'list4', 'list5', 'list6', 'list7', 'list8', 'list9') NOT NULL,
|
||||
FOREIGN KEY(id_survey) REFERENCES surveys(id_survey)
|
||||
) DEFAULT CHARACTER SET = utf8 COLLATE = utf8_bin;
|
||||
`); err != nil {
|
||||
|
|
Reference in a new issue