Merge pull request #2627 from shreyaspapi/fix/1547-persist-user-locale

fix: persist user locale preference to database (#1547)
This commit is contained in:
Owen Schwartz 2026-03-30 14:29:15 -07:00 committed by GitHub
commit e345c6ee6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 103 additions and 5 deletions

View file

@ -322,7 +322,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", {