From 4365e4da24984d698e8faec2d897d721956221ba Mon Sep 17 00:00:00 2001 From: Arjun Komath Date: Tue, 14 Jul 2026 20:22:02 +1000 Subject: [PATCH] fix(web): align auth schema table names --- web/db/schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/db/schema.ts b/web/db/schema.ts index 4e158cf..7f3ed25 100644 --- a/web/db/schema.ts +++ b/web/db/schema.ts @@ -96,7 +96,7 @@ export const verification = pgTable( ); export const twoFactor = pgTable( - "twoFactor", + "two_factor", { id: text("id").primaryKey(), secret: text("secret").notNull(), @@ -117,7 +117,7 @@ export const twoFactor = pgTable( ); export const deviceCode = pgTable( - "deviceCode", + "device_code", { id: text("id").primaryKey(), deviceCode: text("device_code").notNull(),