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:
parent
ebd4b1e516
commit
eb182ff6e6
4 changed files with 11 additions and 20 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Reference in a new issue