mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2026-01-21 18:39:41 +01:00
fixed backend port for shifts
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
-- Add employee fields
|
||||
ALTER TABLE users ADD COLUMN employee_type TEXT CHECK(employee_type IN ('chef', 'neuling', 'erfahren'));
|
||||
ALTER TABLE users ADD COLUMN is_sufficiently_independent BOOLEAN DEFAULT FALSE;
|
||||
ALTER TABLE users ADD COLUMN is_sufficiently_independent BOOLEAN DEFAULT FALSE;
|
||||
ALTER TABLE users ADD COLUMN last_login TEXT DEFAULT NULL;
|
||||
@@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS users (
|
||||
is_sufficiently_independent BOOLEAN DEFAULT FALSE,
|
||||
is_active BOOLEAN DEFAULT TRUE,
|
||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
last_login DATETIME
|
||||
last_login TEXT || NULL
|
||||
);
|
||||
|
||||
-- Tabelle für Schichtvorlagen
|
||||
|
||||
Reference in New Issue
Block a user