2025-12-02 18:10:39 +08:00
|
|
|
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);
|