Add settings management with Bundesland selection and holiday calculations

This commit is contained in:
Felix Schlusche
2025-10-23 02:43:47 +02:00
parent 720b3d2d03
commit b2823731f1
5 changed files with 419 additions and 30 deletions

View File

@@ -6,3 +6,9 @@ CREATE TABLE IF NOT EXISTS entries (
pause_minutes INTEGER NOT NULL DEFAULT 0,
location TEXT DEFAULT 'office' CHECK(location IN ('office', 'home'))
);
CREATE TABLE IF NOT EXISTS settings (
key TEXT PRIMARY KEY,
value TEXT NOT NULL,
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
);