libfic/mcq: remove Kind, as we can only handle checkbox; another kind of record should be created to handle select/radio

This commit is contained in:
nemunaire 2017-12-17 16:28:31 +01:00
commit eb182ff6e6
4 changed files with 11 additions and 20 deletions

View file

@ -147,7 +147,6 @@ CREATE TABLE IF NOT EXISTS exercice_mcq(
id_mcq INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
id_exercice INTEGER NOT NULL,
title VARCHAR(255) NOT NULL,
kind ENUM('checkbox', 'radio', 'select') NOT NULL,
FOREIGN KEY(id_exercice) REFERENCES exercices(id_exercice)
);
`); err != nil {