This commit is contained in:
Your Name committed 2026-10-02 09:05:58 +07:00
1 parent f258e3e176
commit 3631f59bba
7 files changed
+524 -57

No files matched your search

+2
View File
@@ -81,6 +81,7 @@ model Product {
categoryId Int
category Category @relation(fields: [categoryId], references: [id])
name String?
titleGraphicUrl String?
description String?
details String?
brandId Int
@@ -134,6 +135,7 @@ model ProductVariant {
option1 String @default("") // Maps to Product.options[0]
option2 String @default("") // Maps to Product.options[1]
option3 String @default("") // Maps to Product.options[2]
imageUrl String?
productId Int
product Product @relation(fields: [productId], references: [id])