Add a disabled state to exercices

This commit is contained in:
nemunaire 2023-03-20 11:23:03 +01:00
commit eb85b28f5b
10 changed files with 33 additions and 17 deletions

View file

@ -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,