forked from fahrPool/fahrPool
- Add migration 20260818120000_auftrag_fotos_optional_trigger.sql that replaces check_auftrag_status_transition() function, removing ONLY the photo-count check while preserving all other validation (start_km, end_km, uebergabe_bestaetigt_at, status transitions, column lockdown, role-based restrictions) - Update pgTAP test: plan(13) -> plan(12), replace photo-mandatory test with test verifying transition succeeds without photos - Completes DB-level optional photos feature (app-level optional already done in Task 1) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCHRPWuV3bd37NJhW2NK6P |
||
|---|---|---|
| .. | ||
| 20260704092843_profiles.sql | ||
| 20260704095119_rls_profiles.sql | ||
| 20260704224211_add_profiles_update_with_check.sql | ||
| 20260705085814_orte_fahrzeuge.sql | ||
| 20260705090655_auftraege.sql | ||
| 20260705144530_auftrag_fotos.sql | ||
| 20260705145543_auftrag_status_trigger.sql | ||
| 20260705150911_auftrag_fotos_bucket.sql | ||
| 20260707090000_disponent_sieht_fahrer_profile.sql | ||
| 20260713090000_arbeitszeiten.sql | ||
| 20260714090000_arbeitszeiten_ein_offene_schicht.sql | ||
| 20260818120000_auftrag_fotos_optional_trigger.sql | ||