feat: rearchitecture of database schemas, migration reset, and #180

This commit is contained in:
DecDuck
2025-08-20 20:35:50 +10:00
parent 6853383e86
commit 322af0b4ca
125 changed files with 1384 additions and 1837 deletions

View File

@ -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,