Rollen Chunk 5: Genehmigungs-Status mit Eigen-UI
This commit is contained in:
1 parent
ed46a60df8
commit
9aa5aea7c9
1 file changed
+1
@@ -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)
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user