The Free Software Media System - Server Backend & API
add index
Luke Pulverentic0664988f587
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.csindex 994d2f3e35..19932c96ca 100644--- a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs+++ b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs@@ -245,7 +245,8 @@ namespace MediaBrowser.Server.Implementations.Persistencestring[] 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);