fix: persist user locale preference to database (#1547)

This commit is contained in:
Shreyas Papinwar
2026-03-10 12:21:06 +05:30
parent 91b7ceb2cf
commit ae39084a75
8 changed files with 101 additions and 4 deletions

View File

@@ -320,7 +320,8 @@ export const users = sqliteTable("user", {
serverAdmin: integer("serverAdmin", { mode: "boolean" })
.notNull()
.default(false),
lastPasswordChange: integer("lastPasswordChange")
lastPasswordChange: integer("lastPasswordChange"),
locale: text("locale")
});
export const securityKeys = sqliteTable("webauthnCredentials", {