mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-04 06:04:13 -04:00
Add index on (libraryId, mediaType, createdAt)
This commit is contained in:
parent
a13143245b
commit
3d08a35aa0
@ -701,6 +701,9 @@ class LibraryItem extends Model {
|
|||||||
{
|
{
|
||||||
fields: ['libraryId', 'mediaType', 'size']
|
fields: ['libraryId', 'mediaType', 'size']
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
fields: ['libraryId', 'mediaType', 'createdAt']
|
||||||
|
},
|
||||||
{
|
{
|
||||||
fields: ['libraryId', 'mediaType', { name: 'title', collate: 'NOCASE' }]
|
fields: ['libraryId', 'mediaType', { name: 'title', collate: 'NOCASE' }]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user