Rollen Chunk 5: Genehmigungs-Status mit Eigen-UI
Docker Image / test (push) Canceled after 0s
Docker Image / image (push) Canceled after 0s

This commit is contained in:
loki committed 2026-10-11 19:31:47 +02:00
1 parent ed46a60df8
commit 9aa5aea7c9
1 file changed
+1
+1
View File
@@ -58,6 +58,7 @@ CREATE TABLE IF NOT EXISTS vacation_requests (
end_date TEXT NOT NULL CHECK (end_date >= start_date),
day_fraction TEXT NOT NULL CHECK (day_fraction IN ('full', 'half')),
units INTEGER NOT NULL,
status TEXT NOT NULL DEFAULT 'bestätigt' CHECK (status IN ('beantragt', 'bestätigt', 'abgelehnt')),
deleted_at TEXT,
CHECK (day_fraction = 'full' OR start_date = end_date)
);