Fix an issue that could cause a sync error (and maybe other tag-related problems) in very old databases

This commit is contained in:
Dan Stillman 2010-11-08 09:29:35 +00:00
parent 734472fbe4
commit b76d788133
2 changed files with 5 additions and 1 deletions

View file

@ -2915,6 +2915,10 @@ Zotero.Schema = new function(){
Zotero.DB.query("CREATE TABLE translatorCache (\n leafName TEXT PRIMARY KEY,\n translatorJSON TEXT,\n code TEXT,\n lastModifiedTime INT\n)");
}
if (i==76) {
Zotero.DB.query("DELETE FROM itemTags WHERE tagID IS NULL");
}
Zotero.wait();
}

View file

@ -1,4 +1,4 @@
-- 75
-- 76
-- Copyright (c) 2009 Center for History and New Media
-- George Mason University, Fairfax, Virginia, USA