Last Used implementiert
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user