fix(artwork): speed up disc artwork lookup with a media_file index

This commit is contained in:
Iceflower 2026-09-30 10:19:45 +02:00
commit cd6a0bd541
No known key found for this signature in database

View file

@ -0,0 +1,6 @@
-- +goose Up
create index if not exists media_file_album_disc_track
on media_file (album_id, disc_number, track_number);
-- +goose Down
drop index if exists media_file_album_disc_track;