-- Remove tracking events that match current ignored patterns

-- Remove visits to ignored paths
DELETE FROM user_visits WHERE 
    'path' = '/tracking' OR
    'path' = '/metrics' OR
    'path' LIKE '/css/%' OR
    'path' LIKE '/js/%' OR
    'path' = '/boxes/ws' OR
    'path' LIKE '%favicon%';