alter table if exists public.media_assets
  add column if not exists ocr_payload jsonb,
  add column if not exists ocr_strategy text not null default 'auto';

create index if not exists media_assets_ocr_status_idx
  on public.media_assets (ocr_status);
