docs(architecture): update todos.product_id to not null with cascade delete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6c7459c61f
commit
bed13c2d04
1 changed files with 1 additions and 1 deletions
|
|
@ -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 | |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue