mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 00:02:37 +10:00
feat: rearchitecture of database schemas, migration reset, and #180
This commit is contained in:
@ -14,14 +14,26 @@ export default defineEventHandler(async (h3) => {
|
||||
},
|
||||
include: {
|
||||
versions: {
|
||||
where: {
|
||||
gameVersion: {
|
||||
isNot: null,
|
||||
},
|
||||
},
|
||||
orderBy: {
|
||||
versionIndex: "asc",
|
||||
gameVersion: {
|
||||
versionIndex: "asc",
|
||||
},
|
||||
},
|
||||
select: {
|
||||
versionIndex: true,
|
||||
versionId: true,
|
||||
versionName: true,
|
||||
platform: true,
|
||||
delta: true,
|
||||
gameVersion: {
|
||||
select: {
|
||||
versionIndex: true,
|
||||
delta: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
tags: true,
|
||||
|
||||
Reference in New Issue
Block a user