manufacturer is now optional in DB schema

This commit is contained in:
Leon Meier 2023-06-06 23:02:43 +02:00
parent e11bea21ea
commit ce31beb1a8

View File

@ -43,7 +43,7 @@ model Item {
contactInfo contactInfo? @relation(fields: [contactInfoId], references: [id]) /// contactInfo contactInfo? @relation(fields: [contactInfoId], references: [id]) ///
contactInfoId Int? contactInfoId Int?
manufacturer String manufacturer String?
category itemCategory? @relation(fields: [categoryId], references: [id]) category itemCategory? @relation(fields: [categoryId], references: [id])
categoryId Int? categoryId Int?