Scrum4Me/prisma
Madhura68 611b621d75 feat(codes): code NOT NULL voor PBI/Story + Task.code + product_id denorm
- Pbi.code en Story.code worden NOT NULL (tot dusver optional)
- Task krijgt code String + product_id String denorm + @@unique([product_id, code])
- Product krijgt back-relation tasks Task[]
- Migratie backfillt bestaande NULL-rijen via PL/pgSQL:
  PBI-N (per product), ST-N (3-digit padded met GREATEST om
  truncatie van LPAD bij 4-digit nummers te voorkomen),
  T-N voor alle tasks
- Codes zijn stabiele identifiers (Jira-stijl flat-per-product),
  zodat re-parenting de code niet muteert

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 08:36:19 +02:00
..
migrations feat(codes): code NOT NULL voor PBI/Story + Task.code + product_id denorm 2026-05-04 08:36:19 +02:00
seed-data M11: Claude vraagt, gebruiker antwoordt (ST-1101..ST-1108) (#13) 2026-04-29 11:38:23 +02:00
neon.md fix: lint errors en warnings opgelost voor CI 2026-04-24 14:09:03 +02:00
schema.prisma feat(codes): code NOT NULL voor PBI/Story + Task.code + product_id denorm 2026-05-04 08:36:19 +02:00
seed.ts M10: Password-loze inlog via QR-pairing (ST-1001..ST-1008) (#12) 2026-04-28 00:01:04 +02:00