version importing

This commit is contained in:
DecDuck
2024-10-11 17:16:26 +11:00
parent a7c33e7d43
commit 46c8f0c48a
19 changed files with 587 additions and 113 deletions

View File

@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `dropletManifest` to the `GameVersion` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "GameVersion" ADD COLUMN "dropletManifest" JSONB NOT NULL;

View File

@ -104,9 +104,10 @@ model GameVersion {
game Game @relation(fields: [gameId], references: [id])
versionName String // Sub directory for the game files
platform Platform
launchCommand String // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
setupCommand String // Command to setup game (dependencies and such)
platform Platform
launchCommand String // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
setupCommand String // Command to setup game (dependencies and such)
dropletManifest Json // Results from droplet
@@id([gameId, versionName])
}