-- Fix the broken post by removing the invalid image URL
UPDATE posts 
SET image_url = NULL 
WHERE image_url LIKE '%/uploads/%';

-- Verify
SELECT COUNT(*) as fixed_posts FROM posts WHERE image_url LIKE '%/uploads/%';
