Add v2 launcher updater endpoint
This commit is contained in:
4 files changed
+119
-1
No files matched your search
@@ -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', {
|
||||
|
||||
Reference in new issue
Block a user