mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add index for lastPlayedDate (#11342)
This commit is contained in:
parent
79087eadd3
commit
eccc9a0b64
@ -58,7 +58,8 @@ namespace Emby.Server.Implementations.Data
|
|||||||
"create unique index if not exists UserDatasIndex1 on UserDatas (key, userId)",
|
"create unique index if not exists UserDatasIndex1 on UserDatas (key, userId)",
|
||||||
"create index if not exists UserDatasIndex2 on UserDatas (key, userId, played)",
|
"create index if not exists UserDatasIndex2 on UserDatas (key, userId, played)",
|
||||||
"create index if not exists UserDatasIndex3 on UserDatas (key, userId, playbackPositionTicks)",
|
"create index if not exists UserDatasIndex3 on UserDatas (key, userId, playbackPositionTicks)",
|
||||||
"create index if not exists UserDatasIndex4 on UserDatas (key, userId, isFavorite)"));
|
"create index if not exists UserDatasIndex4 on UserDatas (key, userId, isFavorite)",
|
||||||
|
"create index if not exists UserDatasIndex5 on UserDatas (key, userId, lastPlayedDate)"));
|
||||||
|
|
||||||
if (!userDataTableExists)
|
if (!userDataTableExists)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user