Files
hanzoai_agent/control-plane/migrations/012_create_execution_webhook_events.sql
zeekay 2899aeaa9f feat: merge agents control plane + SDKs into unified agent repo
Consolidate all Hanzo agent infrastructure into one repo:
- control-plane/: Go control plane server (was agents-new)
- sdk/: Go, Python, TypeScript SDKs
- deployments/: Docker, Kubernetes, Helm configs
- Dockerfile.sdk: Python SDK image (ghcr.io/hanzoai/agent:latest)
- CI builds both SDK + control-plane images

No more agentfield — everything is hanzoai/agent.
2026-02-13 12:24:31 -08:00

19 lines
699 B
SQL

-- +migrate Up
CREATE TABLE IF NOT EXISTS execution_webhook_events (
id BIGSERIAL PRIMARY KEY,
execution_id TEXT NOT NULL REFERENCES workflow_executions(execution_id) ON DELETE CASCADE,
event_type TEXT NOT NULL,
status TEXT NOT NULL,
http_status INTEGER,
payload JSONB,
response_body TEXT,
error_message TEXT,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
CREATE INDEX IF NOT EXISTS idx_execution_webhook_events_execution_id ON execution_webhook_events(execution_id);
CREATE INDEX IF NOT EXISTS idx_execution_webhook_events_created_at ON execution_webhook_events(created_at DESC);
-- +migrate Down
DROP TABLE IF EXISTS execution_webhook_events;