mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add index on TopParentId
This commit is contained in:
parent
4fcdeaffee
commit
446b50e556
@ -246,7 +246,8 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||||||
string[] postQueries =
|
string[] postQueries =
|
||||||
{
|
{
|
||||||
"create index if not exists idx_PresentationUniqueKey on TypedBaseItems(PresentationUniqueKey)",
|
"create index if not exists idx_PresentationUniqueKey on TypedBaseItems(PresentationUniqueKey)",
|
||||||
"create index if not exists idx_Type on TypedBaseItems(Type)"
|
"create index if not exists idx_Type on TypedBaseItems(Type)",
|
||||||
|
"create index if not exists idx_TopParentId on TypedBaseItems(TopParentId)"
|
||||||
};
|
};
|
||||||
|
|
||||||
_connection.RunQueries(postQueries, Logger);
|
_connection.RunQueries(postQueries, Logger);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user