mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-30 12:49:43 +00:00
fix: persist user locale preference to database (#1547)
This commit is contained in:
parent
91b7ceb2cf
commit
ae39084a75
8 changed files with 101 additions and 4 deletions
|
|
@ -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", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue