feat(products): seed 24 sku items with structured specs

This commit is contained in:
Ruslan Bakiev
2026-04-03 10:40:29 +07:00
parent f7fb45618d
commit 7cd650bd04
3 changed files with 96 additions and 101 deletions

View File

@@ -0,0 +1,8 @@
-- AlterTable
ALTER TABLE "Product" ADD COLUMN "lengthM" INTEGER,
ADD COLUMN "productType" TEXT,
ADD COLUMN "quantityPerBox" TEXT,
ADD COLUMN "sleeveBrand" TEXT,
ADD COLUMN "thicknessMicron" INTEGER,
ADD COLUMN "widthMm" INTEGER;

View File

@@ -165,6 +165,12 @@ model Product {
id String @id @default(cuid())
sku String @unique
name String
productType String?
widthMm Int?
lengthM Int?
thicknessMicron Int?
sleeveBrand String?
quantityPerBox String?
description String?
isCustomizable Boolean @default(false)
isActive Boolean @default(true)