CREATE TABLE IF NOT EXISTS agent_message_fork (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    source_message UUID NOT NULL,
    forked_conversation UUID NOT NULL,
    forked_by UUID NOT NULL,
    created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
