-- Migration for feed-sync-v4
-- Add cutout fields to products
ALTER TABLE products ADD COLUMN IF NOT EXISTS cutout_image_url text;
ALTER TABLE products ADD COLUMN IF NOT EXISTS needs_cutout boolean DEFAULT true;
ALTER TABLE products ADD COLUMN IF NOT EXISTS google_product_category text;

-- Index for cutout processing queue
CREATE INDEX IF NOT EXISTS idx_products_needs_cutout ON products (needs_cutout) WHERE needs_cutout = true;
