Update user schema: modify password_hash to varchar(95)
Some checks failed
Backend Tests / test (push) Has been cancelled
Lint / lint (push) Has been cancelled

This commit is contained in:
2026-01-14 20:12:32 +01:00
parent 7c3f4050c5
commit dbfd14b57a
6 changed files with 3324 additions and 27 deletions

View File

@@ -29,7 +29,7 @@ export const users = pgTable(
displayName: varchar("display_name", { length: 32 }),
username: varchar("username", { length: 32 }).notNull().unique(),
passwordHash: varchar("password_hash", { length: 72 }).notNull(),
passwordHash: varchar("password_hash", { length: 95 }).notNull(),
// Sécurité
twoFactorSecret: pgpEncrypted("two_factor_secret"),