Sync shared snapshot from 2e6baaa

This commit is contained in:
Gabriel20xx committed 2026-09-06 22:51:07 +02:00
1 parent 5ea8551d60
commit 81b62cdc26
34 files changed
+197 -121

No files matched your search

@@ -311,7 +311,7 @@ CREATE INDEX IF NOT EXISTS media_analysis_tasks_status_idx ON media_analysis_tas
-- to make repeated analysis runs idempotent instead of piling up duplicate tag rows.
CREATE UNIQUE INDEX IF NOT EXISTS media_tags_ai_tag_unique ON media_tags (media_key, tag) WHERE user_id IS NULL;
-- Speeds up the MediaAnalyzer dashboard/pipelines/history/live-status queries: analyzerStats and
-- Speeds up the ContentScanner dashboard/pipelines/history/live-status queries: analyzerStats and
-- analyzerPipelineBreakdown group active media by type (and join it against thumbnails), and
-- analyzerHistory sorts media_worker_jobs by queued_at with no status filter, none of which the
-- existing media/media_worker_jobs indexes above actually cover.