mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-17 10:11:10 +10:00
working commit
This commit is contained in:
@ -49,6 +49,11 @@ model LaunchOption {
|
||||
uninstallGId String? @unique
|
||||
uninstallGVersion GameVersion? @relation(name: "uninstall")
|
||||
|
||||
installRId String? @unique
|
||||
installRVersion RedistVersion? @relation(name: "install_redist")
|
||||
uninstallRId String? @unique
|
||||
uninstallRVersion RedistVersion? @relation(name: "uninstall_redist")
|
||||
|
||||
name String
|
||||
description String
|
||||
|
||||
@ -125,8 +130,17 @@ model RedistVersion {
|
||||
versionId String @id
|
||||
version Version @relation(fields: [versionId], references: [versionId], onDelete: Cascade, onUpdate: Cascade)
|
||||
|
||||
installId String? @unique
|
||||
install LaunchOption? @relation(name: "install_redist", fields: [installId], references: [launchId])
|
||||
uninstallId String? @unique
|
||||
uninstall LaunchOption? @relation(name: "uninstall_redist", fields: [uninstallId], references: [launchId])
|
||||
onlySetup Boolean @default(false)
|
||||
|
||||
launches LaunchOption[]
|
||||
|
||||
versionIndex Int
|
||||
delta Boolean @default(false)
|
||||
|
||||
gameDependees GameVersion[]
|
||||
dlcDependees DLCVersion[]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user