-- +goose Up
-- Consolidate 'thumbnail' and 'gallery' media types into unified 'image' type
UPDATE media SET media_type = 'image' WHERE media_type IN ('thumbnail', 'gallery');

-- +goose Down
-- Note: Cannot perfectly reverse since we lose the distinction between thumbnail and gallery
-- This sets all 'image' back to 'thumbnail' as a fallback
UPDATE media SET media_type = 'thumbnail' WHERE media_type = 'image';
