From 26823fbf353a89d689b656c51f18996add313aff Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Thu, 7 May 2026 08:12:42 +0200 Subject: [PATCH] feat: add unitMappings field to User and Product models --- backend/prisma/schema.prisma | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/prisma/schema.prisma b/backend/prisma/schema.prisma index 7e758290..abbe0f53 100644 --- a/backend/prisma/schema.prisma +++ b/backend/prisma/schema.prisma @@ -28,6 +28,7 @@ model User { pantryItems PantryItem[] mealPlanEntries MealPlanEntry[] receiptAliases ReceiptAlias[] + unitMappings UnitMapping[] } model Product { @@ -54,6 +55,7 @@ model Product { categoryId Int? categoryRef Category? @relation(fields: [categoryId], references: [id], onDelete: SetNull) isPrivate Boolean @default(false) + unitMappings UnitMapping[] } model Category {