mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
add index
This commit is contained in:
parent
18b8f4d8d4
commit
c0664988f5
@ -245,7 +245,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