mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-16 01:31:19 +10:00
Compare commits
1 Commits
dependabot
...
v0.2.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
| b9a154dde8 |
@ -0,0 +1,20 @@
|
|||||||
|
/*
|
||||||
|
Warnings:
|
||||||
|
|
||||||
|
- Made the column `launchCommand` on table `GameVersion` required. This step will fail if there are existing NULL values in that column.
|
||||||
|
- Made the column `setupCommand` on table `GameVersion` required. This step will fail if there are existing NULL values in that column.
|
||||||
|
|
||||||
|
*/
|
||||||
|
UPDATE "GameVersion"
|
||||||
|
SET "launchCommand" = ''
|
||||||
|
WHERE "launchCommand" is NULL;
|
||||||
|
|
||||||
|
UPDATE "GameVersion"
|
||||||
|
SET "setupCommand" = ''
|
||||||
|
WHERE "launchCommand" is NULL;
|
||||||
|
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "GameVersion" ALTER COLUMN "launchCommand" SET NOT NULL,
|
||||||
|
ALTER COLUMN "launchCommand" SET DEFAULT '',
|
||||||
|
ALTER COLUMN "setupCommand" SET NOT NULL,
|
||||||
|
ALTER COLUMN "setupCommand" SET DEFAULT '';
|
||||||
@ -46,9 +46,9 @@ model GameVersion {
|
|||||||
|
|
||||||
platform Platform
|
platform Platform
|
||||||
|
|
||||||
launchCommand String? // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
|
launchCommand String @default("") // Command to run to start. Platform-specific. Windows games on Linux will wrap this command in Proton/Wine
|
||||||
launchArgs String[]
|
launchArgs String[]
|
||||||
setupCommand String? // Command to setup game (dependencies and such)
|
setupCommand String @default("") // Command to setup game (dependencies and such)
|
||||||
setupArgs String[]
|
setupArgs String[]
|
||||||
onlySetup Boolean @default(false)
|
onlySetup Boolean @default(false)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user