-- Migration 010: Add visual_stats column to chunks table
-- This column stores pre-computed object counts (from YOLO) for the frames within the chunk.
-- Example: {"person": 150, "car": 12, "envelope": 5}

ALTER TABLE public.chunks ADD COLUMN IF NOT EXISTS visual_stats JSONB DEFAULT '{}';
ALTER TABLE dev.chunks ADD COLUMN IF NOT EXISTS visual_stats JSONB DEFAULT '{}';
