fix: passkey, error mapping

This commit is contained in:
Théo LAGACHE
2026-02-27 15:17:57 +01:00
parent d557620c81
commit 030cd13f7c
6 changed files with 2496 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
ALTER TABLE "passkey" RENAME COLUMN "credentialId" TO "credentialID";
File diff suppressed because it is too large Load Diff
+7
View File
@@ -260,6 +260,13 @@
"when": 1772200673674,
"tag": "0036_chief_night_thrasher",
"breakpoints": true
},
{
"idx": 37,
"version": "7",
"when": 1772200831628,
"tag": "0037_neat_talon",
"breakpoints": true
}
]
}
+1 -1
View File
@@ -84,7 +84,7 @@ export const passkey = pgTable("passkey", {
userId: uuid("user_id")
.notNull()
.references(() => user.id, { onDelete: "cascade" }),
credentialId: text().notNull(),
credentialID: text().notNull(),
counter: integer().notNull(),
deviceType: text().notNull(),
backedUp: boolean().notNull(),