feat: add unitMappings field to User and Product models
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-07 08:12:42 +02:00
parent 7d63b615b6
commit 26823fbf35
+2
View File
@@ -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 {