Add v2 launcher updater endpoint

This commit is contained in:
Lncvrt committed 2026-04-02 17:14:24 -07:00
1 parent 5aa3ed5820
commit d7befe30ca
4 files changed
+119 -1

No files matched your search

+9
View File
@@ -6,6 +6,7 @@ import {
longtext,
mysqlTable,
text,
timestamp,
tinyint,
varchar
} from 'drizzle-orm/mysql-core'
@@ -126,6 +127,14 @@ export const modVersions = mysqlTable('modversions', {
hidden: boolean('hidden').default(false).notNull()
})
export const v2LauncherUpdates = mysqlTable('v2launcherupdates', {
id: bigint('id', { mode: 'number' }).primaryKey().autoincrement().notNull(),
version: varchar('version', { length: 32 }).notNull(),
notes: text('notes').notNull(),
releaseDate: timestamp('release_date').notNull(),
downloadData: text('download_data').notNull()
})
// berrydashdatabase
export const berryDashUserData = mysqlTable('userdata', {