Handle optionnal flags
This commit is contained in:
parent
e581630d5e
commit
a414cd22c8
18 changed files with 68 additions and 22 deletions
|
|
@ -195,7 +195,8 @@ CREATE TABLE IF NOT EXISTS exercice_flags(
|
|||
validator_regexp VARCHAR(255) NULL,
|
||||
sort_re_grps BOOLEAN NOT NULL DEFAULT 0,
|
||||
cksum BINARY(64) NOT NULL,
|
||||
choices_cost INTEGER NOT NULL,
|
||||
choices_cost MEDIUMINT NOT NULL,
|
||||
bonus_gain MEDIUMINT NOT NULL,
|
||||
FOREIGN KEY(id_exercice) REFERENCES exercices(id_exercice)
|
||||
) DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
|
||||
`); err != nil {
|
||||
|
|
|
|||
Reference in a new issue