feat(user): add ownedProducts relation to User model
This commit is contained in:
@@ -18,6 +18,7 @@ model User {
|
||||
userProducts UserProduct[]
|
||||
ownedRecipes Recipe[] @relation("RecipeOwner")
|
||||
sharedRecipes RecipeShare[]
|
||||
ownedProducts Product[]
|
||||
}
|
||||
|
||||
model Product {
|
||||
|
||||
Reference in New Issue
Block a user