Files
hanzoai_agent/control-plane/migrations/016_create_observability_webhooks.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

22 lines
752 B
SQL

-- +goose Up
-- +goose StatementBegin
CREATE TABLE IF NOT EXISTS observability_webhooks (
id TEXT PRIMARY KEY DEFAULT 'global',
url TEXT NOT NULL,
secret TEXT,
headers JSONB DEFAULT '{}',
enabled BOOLEAN NOT NULL DEFAULT true,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-- Ensure only one row exists (singleton pattern with id='global')
CREATE UNIQUE INDEX IF NOT EXISTS idx_observability_webhooks_singleton ON observability_webhooks((id IS NOT NULL));
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP INDEX IF EXISTS idx_observability_webhooks_singleton;
DROP TABLE IF EXISTS observability_webhooks;
-- +goose StatementEnd