From 43718c133ea07c213f1e9006897fc9872416da66 Mon Sep 17 00:00:00 2001 From: Madhura68 Date: Sat, 25 Apr 2026 19:16:52 +0200 Subject: [PATCH] =?UTF-8?q?docs(todos):=20update=20architecture=20doc=20?= =?UTF-8?q?=E2=80=94=20product=5Fid=20now=20nullable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- docs/scrum4me-architecture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scrum4me-architecture.md b/docs/scrum4me-architecture.md index 58c593e..8556beb 100644 --- a/docs/scrum4me-architecture.md +++ b/docs/scrum4me-architecture.md @@ -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 | |