Realy add UCQ and int input
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
12f956f8d6
commit
b2954ccb4c
4 changed files with 13 additions and 5 deletions
2
db.go
2
db.go
|
|
@ -94,7 +94,7 @@ CREATE TABLE IF NOT EXISTS survey_quests(
|
|||
title VARCHAR(255),
|
||||
description TEXT,
|
||||
placeholder VARCHAR(255),
|
||||
kind ENUM('text', 'ucq', 'mcq') NOT NULL,
|
||||
kind ENUM('text', 'int', 'ucq', 'mcq') NOT NULL,
|
||||
FOREIGN KEY(id_survey) REFERENCES surveys(id_survey)
|
||||
) DEFAULT CHARACTER SET = utf8 COLLATE = utf8_bin;
|
||||
`); err != nil {
|
||||
|
|
|
|||
Reference in a new issue