Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
5 lines
365 B
SQL
5 lines
365 B
SQL
-- Fahrt- und Transportkosten als eigene Kostenart (Henning, 21.10.2026): 2 × Strecke × Einsatztage × Fahrzeuge in km.
|
||
alter table angebot_kosten drop constraint angebot_kosten_kostenart_check;
|
||
alter table angebot_kosten add constraint angebot_kosten_kostenart_check
|
||
check (kostenart in ('lohn', 'material', 'geraet', 'fahrt', 'subunternehmer', 'sonstiges'));
|