Files
mnote/supabase/migrations/20251202_add_media_ocr_payload.sql
T

7 lines
253 B
SQL
Raw Normal View History

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);