Theme can be optional: exercices can be standalone
This commit is contained in:
parent
3519f7416d
commit
a0bc832910
8 changed files with 81 additions and 39 deletions
|
|
@ -140,7 +140,7 @@ CREATE TABLE IF NOT EXISTS team_members(
|
|||
if _, err := db.Exec(`
|
||||
CREATE TABLE IF NOT EXISTS exercices(
|
||||
id_exercice INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
id_theme INTEGER NOT NULL,
|
||||
id_theme INTEGER NULL,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
authors TEXT NOT NULL,
|
||||
image VARCHAR(255) NOT NULL,
|
||||
|
|
|
|||
Reference in a new issue