1
0
Fork 0
fahrPool/web/app/auftraege/[id]
Jonny 89564e527d feat: add auftrag detail page with uebernehmen and fahrt-beginnen actions
fahrtBeginnen uses plain insert (not upsert) for auftrag_fotos writes:
the partial unique index from Task 3 (where position <> 'schaden') can't
be targeted by PostgREST's onConflict option (Postgres 42P10), and
fahrer have no UPDATE grant on auftrag_fotos anyway, so an upsert's
DO UPDATE branch could never succeed for them. Verified live against
the local Supabase stack that the original upsert-based approach
silently wrote zero photo rows, blocking every real fahrtBeginnen
attempt at the DB trigger.
2026-07-05 22:16:54 +02:00
..
actions.ts feat: add auftrag detail page with uebernehmen and fahrt-beginnen actions 2026-07-05 22:16:54 +02:00
page.tsx feat: add auftrag detail page with uebernehmen and fahrt-beginnen actions 2026-07-05 22:16:54 +02:00