fic: Fix exercice deletion
This commit is contained in:
parent
17839474e1
commit
2246e00948
4 changed files with 7 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ CREATE TABLE IF NOT EXISTS exercice_hints_omcq_deps(
|
|||
id_hint INTEGER NOT NULL,
|
||||
id_mcq_dep INTEGER NOT NULL,
|
||||
FOREIGN KEY(id_hint) REFERENCES exercice_hints(id_hint),
|
||||
FOREIGN KEY(id_mcq_dep) REFERENCES exercice_flags(id_flag)
|
||||
FOREIGN KEY(id_mcq_dep) REFERENCES exercice_mcq(id_mcq)
|
||||
) DEFAULT CHARACTER SET = utf8 COLLATE = utf8_bin;
|
||||
`); err != nil {
|
||||
return err
|
||||
|
|
|
|||
Reference in a new issue