Projektseite, Aufgaben-Kategorien und Terminplan wie MS Project (0.3.0)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

- Projekt-Detailseite mit Kacheln und Reitern, Baustellenadresse und Notiz (Migration 005)
- Aufgaben mit Projekt, Kunde und Kategorie; Kategorien im Auswahlmenü bearbeiten
- Terminplan: Bearbeitung direkt in der Tabelle, Spalten ausblendbar

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-20 04:40:43 +00:00
parent 7175cd1b75
commit 3dead5bc51
11 changed files with 666 additions and 102 deletions

View File

@@ -0,0 +1,20 @@
-- G4: Aufgaben-Kategorien, frei bearbeitbar (Henning, 20.10.2026)
create table aufgabe_kategorie (
id uuid primary key default gen_random_uuid(),
name text not null unique check (trim(name) <> ''),
reihenfolge integer not null default 0,
angelegt_am timestamptz not null default now(),
geaendert_am timestamptz not null default now(),
geaendert_von text not null default 'system'
);
create trigger aufgabe_kategorie_protokoll before insert or update or delete on aufgabe_kategorie
for each row execute function stempel_und_protokoll();
alter table aufgabe add column kategorie_id uuid references aufgabe_kategorie (id) on delete set null;
-- P2: Baustellenadresse und Notiz für die Projektseite
alter table projekt
add column baustelle_strasse text,
add column baustelle_plz text,
add column baustelle_ort text,
add column notiz text;