Add a disabled state to exercices
This commit is contained in:
parent
0f41e44e13
commit
eb85b28f5b
10 changed files with 33 additions and 17 deletions
|
|
@ -140,6 +140,7 @@ CREATE TABLE IF NOT EXISTS exercices(
|
|||
id_exercice INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
id_theme INTEGER NOT NULL,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
disabled BOOLEAN NOT NULL DEFAULT 0,
|
||||
headline TEXT NOT NULL,
|
||||
url_id VARCHAR(255) NOT NULL,
|
||||
path VARCHAR(191) NOT NULL UNIQUE,
|
||||
|
|
|
|||
Reference in a new issue