#!/bin/bash
echo "Resetting all cutout_image_url for sneakers..."
docker exec supabase-db psql -U postgres -d sneakerpicks -c "UPDATE products SET cutout_image_url = NULL WHERE is_sneaker = true"
echo "Verifying..."
docker exec supabase-db psql -U postgres -d sneakerpicks -t -c "SELECT COUNT(*) FROM products WHERE cutout_image_url IS NULL AND is_sneaker = true"
echo "sneakers need cutouts now"
