rename db.fileName -> db,file

This commit is contained in:
Rdeisenroth 2025-11-06 23:27:35 +01:00
parent ae2cd5e61f
commit 132622d728
No known key found for this signature in database
GPG key ID: 197008FA42DE7127
3 changed files with 7 additions and 7 deletions

View file

@ -37,7 +37,7 @@ model Job {
/// The number of files associated with the job
numFiles Int @default(0) @map("num_files")
/// The files associated with the job
files FileName[]
files File[]
/// The user who created the job
user User @relation(fields: [userId], references: [id])
@ -46,7 +46,7 @@ model Job {
}
/// A file associated with a job
model FileName {
model File {
/// The unique identifier for the file
id Int @id @default(autoincrement())
/// The ID of the job this file belongs to