DB Schema

This commit is contained in:
Moritz Utcke
2025-04-07 16:12:02 -04:00
parent 2abb143cfe
commit 1d27e2bd67
13 changed files with 44 additions and 14 deletions

View File

@@ -13,7 +13,7 @@ model Bild {
name String
created_at DateTime @default(now())
updated_at DateTime @updatedAt
updated_at DateTime @updatedAt @default(now())
aufnahme_id String?
aufnahme Aufnahme? @relation(fields: [aufnahme_id], references: [id], onDelete: NoAction, onUpdate: NoAction)