Add queue stuff

This commit is contained in:
Fang-Pen Lin
2025-11-07 09:19:23 -08:00
parent 2cb38dae05
commit bc00710df3
9 changed files with 171 additions and 76 deletions
@@ -107,7 +107,7 @@ export async function up(knex: Knex): Promise<void> {
t.string("status").notNullable(); // pending, valid, invalid, deactivated, expired, revoked
// Token used to validate the authorization through ACME challenge
t.timestamp("token").nullable();
t.string("token").nullable();
// Identifier type and value
t.string("identifierType").notNullable(); // dns
+1 -1
View File
@@ -11,7 +11,7 @@ export const PkiAcmeAuthsSchema = z.object({
id: z.string().uuid(),
accountId: z.string().uuid(),
status: z.string(),
token: z.date().nullable().optional(),
token: z.string().nullable().optional(),
identifierType: z.string(),
identifierValue: z.string(),
expiresAt: z.date(),