The Task API allows for an easy way to create long-lived tasks that
require reporting back to user with progress/logs. It will be used in
the upcoming game importing.
This commit is contained in:
DecDuck
2024-10-10 16:13:10 +11:00
parent f3672f81dd
commit 718f5ba514
8 changed files with 289 additions and 1 deletions

View File

@ -86,9 +86,24 @@ model Game {
mArt String[] // linked to objects in s3
mScreenshots String[] // linked to objects in s3
versionOrder String
versions GameVersion[]
libraryBasePath String // Base dir for all the game versions
@@unique([metadataSource, metadataId], name: "metadataKey")
}
// A particular set of files that relate to the version
model GameVersion {
gameId String
game Game @relation(fields: [gameId], references: [id])
versionName String // Sub directory for the game files
@@id([gameId, versionName])
}
model Developer {
id String @id @default(uuid())