perf(proxy): isolate settings database reads
This commit is contained in:
1 parent
add6ee56ba
commit
f8d8a09c56
17 files changed
+604
-18
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { sqliteTable, text } from "drizzle-orm/sqlite-core";
|
||||
|
||||
export const proxySchema = {
|
||||
onboarding: sqliteTable("onboarding", {
|
||||
step: text("step").notNull(),
|
||||
}),
|
||||
serverSettings: sqliteTable("serverSetting", {
|
||||
settingKey: text("setting_key").notNull(),
|
||||
value: text("value").notNull(),
|
||||
}),
|
||||
};
|
||||
Reference in new issue
Block a user