Realy add UCQ and int input
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2020-11-20 18:56:32 +01:00
commit b2954ccb4c
4 changed files with 13 additions and 5 deletions

2
db.go
View file

@ -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 {