From bed13c2d0438a8a734ae54b76170973d64bc2172 Mon Sep 17 00:00:00 2001 From: Madhura68 Date: Sat, 25 Apr 2026 18:42:47 +0200 Subject: [PATCH] docs(architecture): update todos.product_id to not null with cascade delete 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 7a14d2b..58c593e 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, nullable | Verplicht in UI en API; nullable voor backward compatibility | +| product_id | String | FK → products, not null | Verplicht in UI en API; cascade delete wanneer product wordt verwijderd | | title | String | not null | | | done | Boolean | default false | | | archived | Boolean | default false | |