mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-19 23:28:29 +01:00
Add index on (libraryId, mediaType, createdAt)
This commit is contained in:
1 parent
a13143245b
commit
3d08a35aa0
1 file changed
+3
@@ -701,6 +701,9 @@ class LibraryItem extends Model {
|
||||
{
|
||||
fields: ['libraryId', 'mediaType', 'size']
|
||||
},
|
||||
{
|
||||
fields: ['libraryId', 'mediaType', 'createdAt']
|
||||
},
|
||||
{
|
||||
fields: ['libraryId', 'mediaType', { name: 'title', collate: 'NOCASE' }]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user