feat(portfolio): add artwork refinement and price visibility fields

This commit is contained in:
2026-02-12 22:49:00 +01:00
parent 984511f166
commit 697b3ab5e7
12 changed files with 230 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE "Artwork"
ADD COLUMN "priceAmountCents" INTEGER,
ADD COLUMN "priceCurrency" TEXT,
ADD COLUMN "isPriceVisible" BOOLEAN NOT NULL DEFAULT false;

View File

@@ -153,6 +153,9 @@ model Artwork {
year Int?
framing String?
availability String?
priceAmountCents Int?
priceCurrency String?
isPriceVisible Boolean @default(false)
isPublished Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt