Browse Source

fix db typo

Luke Pulverenti 12 years ago
parent
commit
f48c1c6cdc

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

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