Skip to content

The only tool you need to know what is happening and how to fix it.

434 B
Raw Blame
CREATE TABLE IF NOT EXISTS agent_write_events (
    id TEXT PRIMARY KEY,
    organization_id INTEGER NOT NULL REFERENCES organizations(id) ON DELETE CASCADE,
    project_id TEXT NOT NULL,
    user_id INTEGER NOT NULL,
    credential_kind TEXT NOT NULL,
    credential_ref TEXT NOT NULL,
    method TEXT NOT NULL,
    route TEXT NOT NULL,
    path TEXT NOT NULL,
    status_code INTEGER NOT NULL,
    created_at TIMESTAMPTZ NOT NULL
)