feat: add unitMappings field to User and Product models
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user