From ce31beb1a8b16a3c2346b3c08fddaea2298f4e50 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Tue, 6 Jun 2023 23:02:43 +0200 Subject: [PATCH] manufacturer is now optional in DB schema --- prisma/schema.prisma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index ff0cef9..285451f 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -43,7 +43,7 @@ model Item { contactInfo contactInfo? @relation(fields: [contactInfoId], references: [id]) /// contactInfoId Int? - manufacturer String + manufacturer String? category itemCategory? @relation(fields: [categoryId], references: [id]) categoryId Int?