docs(todos): update architecture doc — product_id now nullable

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-04-25 19:16:52 +02:00
parent 3e949f5067
commit 43718c133e

View file

@ -214,7 +214,7 @@ Scrum4Me is een desktop-first Next.js 16 webapplicatie die server-side wordt ger
|---|---|---|---|
| id | String (cuid) | PK | |
| user_id | String | FK → users, not null | |
| product_id | String | FK → products, not null | Verplicht in UI en API; cascade delete wanneer product wordt verwijderd |
| product_id | String? | FK → products, nullable | Optioneel in UI; SetNull bij verwijderen product |
| title | String | not null | |
| done | Boolean | default false | |
| archived | Boolean | default false | |