Update:Add libraryItems table index to improve performance #2073

This commit is contained in:
advplyr 2023-09-30 12:39:16 -05:00
parent f0929729a3
commit 1b22205f74

View File

@ -794,6 +794,9 @@ class LibraryItem extends Model {
{ {
fields: ['libraryId', 'mediaType'] fields: ['libraryId', 'mediaType']
}, },
{
fields: ['libraryId', 'mediaId', 'mediaType']
},
{ {
fields: ['birthtime'] fields: ['birthtime']
}, },