-- Fix swapped size and color fields for Printify products
UPDATE product_variants pv
JOIN products p ON pv.product_id = p.id
SET 
    pv.size = pv.color,
    pv.color = pv.size
WHERE p.pod_provider = 'printify';