diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 65078829a..27e02e090 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -858,6 +858,10 @@ Zotero.Schema = new function(){ } } } + + if (i==25) { + Zotero.DB.query("UPDATE itemData SET fieldID=100 WHERE itemID IN (SELECT itemID FROM items WHERE itemTypeID=15) AND fieldID=14;") + } } _updateSchema('userdata'); diff --git a/userdata.sql b/userdata.sql index 64042aae4..65c7525b3 100644 --- a/userdata.sql +++ b/userdata.sql @@ -1,4 +1,4 @@ --- 24 +-- 25 -- This file creates tables containing user-specific data -- any changes -- to existing tables made here must be mirrored in transition steps in