New question type: none
This commit is contained in:
parent
7b45214ca9
commit
1d9edfd4b6
4 changed files with 7 additions and 2 deletions
2
db.go
2
db.go
|
@ -112,7 +112,7 @@ CREATE TABLE IF NOT EXISTS survey_quests(
|
|||
title VARCHAR(255),
|
||||
description TEXT,
|
||||
placeholder VARCHAR(255),
|
||||
kind ENUM('text', 'int', 'ucq', 'mcq', 'list', 'list1', 'list2', 'list3', 'list4', 'list5', 'list6', 'list7', 'list8', 'list9') NOT NULL,
|
||||
kind ENUM('none', '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