This commit is contained in:
team3
2026-07-13 02:10:05 +02:00
parent 4fcbefc4a6
commit 7ee425f7fa
2 changed files with 18 additions and 10 deletions

View File

@@ -106,6 +106,7 @@ CREATE TABLE IF NOT EXISTS leitner(
CREATE TABLE IF NOT EXISTS befunde(
id INTEGER PRIMARY KEY, run_id INTEGER NOT NULL, ebene TEXT NOT NULL, art TEXT NOT NULL,
item TEXT DEFAULT '', detail TEXT DEFAULT '', status TEXT NOT NULL DEFAULT 'offen');
CREATE INDEX IF NOT EXISTS idx_befunde_run ON befunde(run_id, ebene);
CREATE TABLE IF NOT EXISTS lernstand(
topic TEXT NOT NULL, baustein_id INTEGER NOT NULL,
status TEXT NOT NULL DEFAULT 'aktiv', xp INTEGER NOT NULL DEFAULT 0,