mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-14 21:37:09 +02:00
fix(artwork): speed up disc artwork lookup with a media_file index
This commit is contained in:
parent
0e1893530b
commit
cd6a0bd541
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue