perf(proxy): isolate settings database reads

This commit is contained in:
ajnart committed 2026-07-29 06:47:07 +02:00
1 parent add6ee56ba
commit f8d8a09c56
17 files changed
+604 -18

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { mysqlTable, text, varchar } from "drizzle-orm/mysql-core";
export const proxySchema = {
onboarding: mysqlTable("onboarding", {
step: varchar("step", { length: 32 }).notNull(),
}),
serverSettings: mysqlTable("serverSetting", {
settingKey: varchar("setting_key", { length: 64 }).notNull(),
value: text("value").notNull(),
}),
};