Add structured chat delivery records

This commit is contained in:
ZacharyZhang-NY committed 2026-05-23 21:04:59 -04:00
1 parent a27658b56f
commit 18e0c6338e
10 files changed
+133 -8

No files matched your search

@@ -23,6 +23,7 @@ import { providerAuthBrokerSchema } from "./migrations/021-provider-auth-broker"
import { providerRateLimitObservationSchema } from "./migrations/022-provider-rate-limit-observations";
import { providerRequestRuntimeSchema } from "./migrations/023-provider-request-runtime";
import { taskRunProviderRequestSchema } from "./migrations/024-task-run-provider-request";
import { chatMessageDeliverySchema } from "./migrations/025-chat-message-delivery";
interface Migration {
version: number;
@@ -55,6 +56,7 @@ const MIGRATIONS: Migration[] = [
{ version: 22, name: "provider_rate_limit_observations", sql: providerRateLimitObservationSchema },
{ version: 23, name: "provider_request_runtime", sql: providerRequestRuntimeSchema },
{ version: 24, name: "task_run_provider_request", sql: taskRunProviderRequestSchema },
{ version: 25, name: "chat_message_delivery", sql: chatMessageDeliverySchema },
];
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;