Skip to content

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

Fix cert_sync schema

Carlos Monastyrskiee7e7932003d
diff --git a/backend/src/db/schemas/certificate-syncs.ts b/backend/src/db/schemas/certificate-syncs.ts
index 78a8a6e5f6..241684db2a 100644
--- a/backend/src/db/schemas/certificate-syncs.ts
+++ b/backend/src/db/schemas/certificate-syncs.ts
@@ -14,9 +14,9 @@ export const CertificateSyncsSchema = z.object({
syncStatus: z.string().default("pending").nullable().optional(),
lastSyncMessage: z.string().nullable().optional(),
lastSyncedAt: z.date().nullable().optional(),
- externalIdentifier: z.string().nullable().optional(),
createdAt: z.date(),
- updatedAt: z.date()
+ updatedAt: z.date(),
+ externalIdentifier: z.string().nullable().optional()
});
export type TCertificateSyncs = z.infer<typeof CertificateSyncsSchema>;