diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-05-24 15:03:04 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-05-24 15:03:04 -0400 |
| commit | c0664988f587a0d667cfdcaa98673bce2db2a93d (patch) | |
| tree | 1f920ed44f7fdb6449a3b62421c0c6b6085cc13d | |
| parent | 18b8f4d8d461adb84914c725d29ca0ed23bd54dc (diff) | |
add index
| -rw-r--r-- | MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs index 994d2f3e3..19932c96c 100644 --- a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs +++ b/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); |
