fix(ebooks): use planner-safe queue cursors

This commit is contained in:
rxwatcher
2026-07-22 13:43:57 +02:00
parent fcaee9bfce
commit 794e2d786a
4 changed files with 18 additions and 18 deletions
@@ -30,7 +30,7 @@ $$;
-- +goose StatementEnd
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_item_libraries_folder_enrichment_cursor
ON public.media_item_libraries (media_folder_id, first_seen_at DESC, content_id);
ON public.media_item_libraries (media_folder_id, first_seen_at DESC, content_id DESC);
-- +goose Down
DROP INDEX CONCURRENTLY IF EXISTS idx_item_libraries_folder_enrichment_cursor;