From 9411f1ad729cb624588a1017e0f243bd9ea812b3 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sat, 20 May 2023 22:03:39 +0200 Subject: [PATCH] Renamed items to contents --- prisma/schema.prisma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index d89dff5..5f9fbcf 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -45,7 +45,7 @@ model Item { category itemCategory? @relation(fields: [categoryId], references: [id]) categoryId Int? - items Item[] @relation("items") /// Item beinhaltet.. + contents Item[] @relation("items") /// Item beinhaltet.. baseItem Item[] @relation("items") /// Item zugehörig zu. storageLocation StorageLocation? @relation(fields: [storageLocationId], references: [id])