feat: add attributes to each product in service
This commit is contained in:
parent
02e17fcde4
commit
f5df3332b5
2 changed files with 5 additions and 2 deletions
|
|
@ -1070,6 +1070,7 @@ model WorkProduct {
|
|||
product Product @relation(fields: [productId], references: [id], onDelete: Cascade)
|
||||
productId String
|
||||
installmentNo Int @default(0)
|
||||
attributes Json?
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
createdBy User? @relation(name: "WorkProductCreatedByUser", fields: [createdByUserId], references: [id], onDelete: SetNull)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue