From ee7e7932003da3569ad7f3c57b31691c3381690b Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Mon, 3 Nov 2025 08:32:30 -0300 Subject: [PATCH] Fix cert_sync schema --- backend/src/db/schemas/certificate-syncs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/db/schemas/certificate-syncs.ts b/backend/src/db/schemas/certificate-syncs.ts index 78a8a6e5f..241684db2 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;