Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

609 B
Raw Blame
CREATE TABLE IF NOT EXISTS cyclotron_email_attachments (
    id UUID PRIMARY KEY,
    job_id UUID NOT NULL,
    team_id BIGINT NOT NULL,
    position SMALLINT NOT NULL,
    filename TEXT NOT NULL,
    content_type TEXT,
    content_id TEXT,
    content BYTEA NOT NULL,
    size_bytes INT NOT NULL,
    sha256 TEXT NOT NULL,
    created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);

CREATE INDEX IF NOT EXISTS idx_cyclotron_email_attachments_job_id
    ON cyclotron_email_attachments (job_id);

CREATE INDEX IF NOT EXISTS idx_cyclotron_email_attachments_created_at
    ON cyclotron_email_attachments (created_at);