Fix 500 error

This commit is contained in:
2025-11-05 10:05:44 -07:00
parent 2e57668721
commit 1c1a963363
3 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ export const launcherVersions = mysqlTable('launcherversions', {
downloadUrls: text('downloadUrls').notNull(),
platforms: text('platforms').notNull(),
executables: text('executables').notNull(),
hidden: boolean('hidden').notNull().default(true),
hidden: int('hidden').notNull().default(1),
game: int('game').notNull().default(0).references(() => launcherGames.id),
place: int('place').notNull().default(0),
sha512sums: text('sha512sums').notNull().default("[]")
@@ -28,7 +28,7 @@ export const launcherUpdates = mysqlTable('launcherupdates', {
downloadUrls: text('downloadUrls').notNull(),
platforms: text('platforms').notNull(),
executables: text('executables').notNull(),
hidden: boolean('hidden').notNull().default(true),
hidden: int('hidden').notNull().default(1),
place: int('place').notNull().default(0),
sha512sums: text('sha512sums').notNull().default("[]")
})