-- Migration: Link funnels to campaigns (lists)
-- Description: Allows associating a campaign with a specific sales funnel

ALTER TABLE crm_lists 
ADD COLUMN funnel_id UUID REFERENCES crm_funnels(id) ON DELETE SET NULL;

-- Index for performance
CREATE INDEX idx_crm_lists_funnel_id ON crm_lists(funnel_id);
