mirror of
https://github.com/beetbox/beets.git
synced 2026-01-10 09:58:45 +01:00
Added album_id index to speed up queries against album items.
This commit is contained in:
parent
91c8fccacb
commit
9ca95bf721
1 changed files with 1 additions and 0 deletions
|
|
@ -716,6 +716,7 @@ class Item(LibModel):
|
|||
"mtime": types.DATE,
|
||||
"added": types.DATE,
|
||||
}
|
||||
_indices = (dbcore.Index("idx_item_album_id", ("album_id",)),)
|
||||
|
||||
_search_fields = (
|
||||
"artist",
|
||||
|
|
|
|||
Loading…
Reference in a new issue