-- Copilot AI Summary Migration
-- Adds ai_summary column to copilot_sessions for storing AI-generated call analysis

-- Add ai_summary column to copilot_sessions
ALTER TABLE copilot_sessions
ADD COLUMN IF NOT EXISTS ai_summary JSONB DEFAULT NULL;

-- Add comment
COMMENT ON COLUMN copilot_sessions.ai_summary IS 'AI-generated summary including outcome, sentiment, key points, buying signals';

-- Update run-all-migrations reference if needed
