2
0
Luke Pulverenti 9 жил өмнө
parent
commit
c0664988f5

+ 2 - 1
MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs

@@ -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);