itemStatus is now optional in Prisma Schema

This commit is contained in:
Leon Meier 2023-05-15 18:48:37 +02:00
parent 9a05743cb3
commit b5314cb552

View File

@ -42,8 +42,8 @@ model Item {
manufacturer String manufacturer String
category itemCategory @relation(fields: [categoryId], references: [id]) category itemCategory? @relation(fields: [categoryId], references: [id])
categoryId Int categoryId Int?
items Item[] @relation("items") /// Item beinhaltet.. items Item[] @relation("items") /// Item beinhaltet..
baseItem Item[] @relation("items") /// Item zugehörig zu. baseItem Item[] @relation("items") /// Item zugehörig zu.