浏览代码

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)",