Last Used implementiert

This commit is contained in:
2025-09-25 19:52:55 +00:00
parent 0bfb8b2074
commit db431553b9
11 changed files with 270 additions and 7 deletions

View File

@@ -22,12 +22,14 @@ model Recipe {
ingredients String? @map("Zutaten") @db.Text
instructions String? @map("Zubereitung") @db.Text
comment String? @map("Kommentar") @db.Text
lastUsed DateTime? @map("last_used") @db.DateTime(0)
// Relations
images RecipeImage[]
ingredientsList Ingredient[]
@@map("Rezepte")
@@index([lastUsed])
}
model Ingredient {