Skip to content

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

update schema

Thiago Araujo da Silva13982cd40396
diff --git a/backend/src/db/schemas/alert-history.ts b/backend/src/db/schemas/alert-history.ts
index 74d0f9413a..e0587ba25b 100644
--- a/backend/src/db/schemas/alert-history.ts
+++ b/backend/src/db/schemas/alert-history.ts
@@ -12,9 +12,9 @@ export const AlertHistorySchema = z.object({
alertId: z.string().uuid(),
triggeredAt: z.date().nullable().optional(),
status: z.string(),
- eventId: z.string().nullable().optional(),
createdAt: z.date(),
- updatedAt: z.date()
+ updatedAt: z.date(),
+ eventId: z.string().nullable().optional()
});
export type TAlertHistory = z.infer<typeof AlertHistorySchema>;