add index

This commit is contained in:
Luke Pulverenti 2016-05-24 15:03:04 -04:00
parent 18b8f4d8d4
commit c0664988f5

View File

@ -245,7 +245,8 @@ namespace MediaBrowser.Server.Implementations.Persistence
string[] postQueries =
{
"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);