1
0
Fork 0
fahrPool/docs/superpowers/plans
Jonny ad15af965b docs: fix fahrtBeginnen photo write - upsert on partial index doesn't work
The plan's original upsert(onConflict: "auftrag_id,position") for
auftrag_fotos cannot work: PostgREST's onConflict generates an
unqualified ON CONFLICT clause that can't target Task 3's partial
unique index (position <> 'schaden'), and even a working ON CONFLICT
would hit RLS since only admin has UPDATE on auftrag_fotos. Switched
to plain insert with checked errors on both write paths, consistent
with the spec's "Loeschen/Ersetzen nur durch Admin" rule.
2026-07-05 22:19:02 +02:00
..
2026-07-04-fundament-auth-rollen.md docs: correct plan for auth schema lockdown and missing grants 2026-07-04 12:00:44 +02:00
2026-07-05-auftragsverwaltung.md docs: fix fahrtBeginnen photo write - upsert on partial index doesn't work 2026-07-05 22:19:02 +02:00