ST-migvir40: Schema: Pbi.pr_url + pr_merged_at + Prisma-migratie (#67)
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:
parent
c357c662e7
commit
60e2b62bbe
2 changed files with 9 additions and 4 deletions
|
|
@ -0,0 +1,3 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "pbis" ADD COLUMN "pr_merged_at" TIMESTAMP(3),
|
||||
ADD COLUMN "pr_url" TEXT;
|
||||
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue