Fix an issue that could cause a sync error (and maybe other tag-related problems) in very old databases
This commit is contained in:
parent
734472fbe4
commit
b76d788133
2 changed files with 5 additions and 1 deletions
|
@ -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)");
|
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();
|
Zotero.wait();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-- 75
|
-- 76
|
||||||
|
|
||||||
-- Copyright (c) 2009 Center for History and New Media
|
-- Copyright (c) 2009 Center for History and New Media
|
||||||
-- George Mason University, Fairfax, Virginia, USA
|
-- George Mason University, Fairfax, Virginia, USA
|
||||||
|
|
Loading…
Reference in a new issue