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:
parent
c357c662e7
commit
834a71e47f
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?
|
description String?
|
||||||
priority Int
|
priority Int
|
||||||
sort_order Float
|
sort_order Float
|
||||||
status PbiStatus @default(READY)
|
status PbiStatus @default(READY)
|
||||||
created_at DateTime @default(now())
|
pr_url String?
|
||||||
updated_at DateTime @updatedAt
|
pr_merged_at DateTime?
|
||||||
stories Story[]
|
created_at DateTime @default(now())
|
||||||
|
updated_at DateTime @updatedAt
|
||||||
|
stories Story[]
|
||||||
|
|
||||||
@@unique([product_id, code])
|
@@unique([product_id, code])
|
||||||
@@index([product_id, priority, sort_order])
|
@@index([product_id, priority, sort_order])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue