From 5bc2b601765fdaab6a77bcabbe879a35719e5c95 Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Fri, 17 Apr 2026 20:06:44 +0200 Subject: [PATCH] feat(user): add ownedProducts relation to User model --- backend/prisma/schema.prisma | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/prisma/schema.prisma b/backend/prisma/schema.prisma index db5e674d..7d01ed1c 100644 --- a/backend/prisma/schema.prisma +++ b/backend/prisma/schema.prisma @@ -18,6 +18,7 @@ model User { userProducts UserProduct[] ownedRecipes Recipe[] @relation("RecipeOwner") sharedRecipes RecipeShare[] + ownedProducts Product[] } model Product {