ST-migvir40: Schema: Pbi.pr_url + pr_merged_at + Prisma-migratie

Voeg twee optionele velden toe aan model Pbi voor het opslaan van de
PR-link en merge-status. Migratie 20260503145506_add_pbi_pr_link past
de database aan; Prisma-client is hergenereerd.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scrum4Me Agent 2026-05-03 16:57:14 +02:00
parent c357c662e7
commit 834a71e47f
2 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,3 @@
-- AlterTable
ALTER TABLE "pbis" ADD COLUMN "pr_merged_at" TIMESTAMP(3),
ADD COLUMN "pr_url" TEXT;

View file

@ -165,10 +165,12 @@ model Pbi {
description String?
priority Int
sort_order Float
status PbiStatus @default(READY)
created_at DateTime @default(now())
updated_at DateTime @updatedAt
stories Story[]
status PbiStatus @default(READY)
pr_url String?
pr_merged_at DateTime?
created_at DateTime @default(now())
updated_at DateTime @updatedAt
stories Story[]
@@unique([product_id, code])
@@index([product_id, priority, sort_order])