소스 검색

fix db typo

Luke Pulverenti 12 년 전
부모
커밋
f48c1c6cdc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs

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

@@ -106,7 +106,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
             string[] queries = {
 
                                 "create table if not exists TypedBaseItems (guid GUID primary key, type TEXT, data BLOB)",
-                                "create index if not exists idx_TypedBaseItems on baseitems(guid)",
+                                "create index if not exists idx_TypedBaseItems on TypedBaseItems(guid)",
 
                                 "create table if not exists ChildrenIds (ParentId GUID, ItemId GUID, PRIMARY KEY (ParentId, ItemId))",
                                 "create index if not exists idx_ChildrenIds on ChildrenIds(ParentId,ItemId)",