Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

update schema

Thiago Araujo da Silvaa06299e91f8c
diff --git a/backend/src/db/schemas/totp-configs.ts b/backend/src/db/schemas/totp-configs.ts
index d7fbbc571c..2ec06b5233 100644
--- a/backend/src/db/schemas/totp-configs.ts
+++ b/backend/src/db/schemas/totp-configs.ts
@@ -13,6 +13,7 @@ export const TotpConfigsSchema = z.object({
id: z.string().uuid(),
userId: z.string().uuid(),
isVerified: z.boolean().default(false),
+ encryptedRecoveryCodes: zodBuffer.nullable().optional(),
encryptedSecret: zodBuffer,
createdAt: z.date(),
updatedAt: z.date()