emailNotificationsTableInsertSchema
Variable: emailNotificationsTableInsertSchema
constemailNotificationsTableInsertSchema:BuildSchema<"insert", {createdAt:PgColumn<{ }, { }, { }>;PgColumn<{ }, { }, { }>;errorMessage:PgColumn<{ }, { }, { }>;failedAt:PgColumn<{ }, { }, { }>;htmlBody:PgColumn<{ }, { }, { }>;id:PgColumn<{ }, { }, { }>;maxRetries:PgColumn<{ }, { }, { }>;notificationLogId:PgColumn<{ }, { }, { }>;retryCount:PgColumn<{ }, { }, { }>;sentAt:PgColumn<{ }, { }, { }>;sesMessageId:PgColumn<{ }, { }, { }>;status:PgColumn<{ }, { }, { }>;subject:PgColumn<{ }, { }, { }>;updatedAt:PgColumn<{ }, { }, { }>;userId:PgColumn<{ }, { }, { }>; }, {schema) =>ZodString;htmlBody: (schema) =>ZodString;maxRetries: (schema) =>ZodOptional<ZodInt>;retryCount: (schema) =>ZodOptional<ZodInt>;status: (schema) =>ZodOptional<ZodEnum<{bounced:"bounced";delivered:"delivered";failed:"failed";pending:"pending";sent:"sent"; }>>;subject: (schema) =>ZodString; },undefined>
Defined in: src/drizzle/tables/EmailNotification.ts:162