Add get-verify-code endpoint

This commit is contained in:
2026-01-22 14:27:23 -07:00
parent 126a6421d8
commit e2545a0f10
8 changed files with 176 additions and 2 deletions

View File

@@ -65,6 +65,14 @@ export const launcherVersionManifest = mysqlTable('launcherversionmanifest', {
changelog: text('changelog')
})
export const verifyCodes = mysqlTable('verifycodes', {
id: int('id').primaryKey().autoincrement().notNull(),
code: varchar('code', { length: 16 }).notNull(),
ip: varchar('ip', { length: 255 }),
timestamp: int('timestamp').notNull(),
used: boolean('used').default(false).notNull()
})
// berrydashdatabase
export const berryDashUserData = mysqlTable('userdata', {