-- Expand creatives.format for Google Performance Max asset ratios + upload fields -- Idempotent. alter table public.creatives drop constraint if exists creatives_format_check; alter table public.creatives add constraint creatives_format_check check ( format is null or format in ( 'image', 'video', 'carousel', 'reel', 'story', 'rsa', 'pmax', 'pmax_landscape', 'pmax_square', 'pmax_portrait', 'pmax_vertical', 'pmax_logo', 'youtube', 'other' ) ); alter table public.creatives add column if not exists storage_path text; alter table public.creatives add column if not exists mime_type text; comment on column public.creatives.storage_path is 'Path in tenant-assets bucket for uploaded creative media';