From bdec99f103a656c25f7918ed99533b6465231927 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 9 Sep 2020 17:48:26 -0400 Subject: [PATCH] Update DB compatibility for annotations and noteSchemaVersion --- chrome/content/zotero/xpcom/schema.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 02029e8a40..5ba7b92c7b 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -46,7 +46,7 @@ Zotero.Schema = new function(){ var _dbVersions = []; var _schemaVersions = []; // Update when adding _updateCompatibility() line to schema update step - var _maxCompatibility = 6; + var _maxCompatibility = 7; var _repositoryTimerID; var _repositoryNotificationTimerID; @@ -3228,6 +3228,8 @@ Zotero.Schema = new function(){ } else if (i == 112) { + yield _updateCompatibility(7); + yield Zotero.DB.queryAsync("DROP TABLE IF EXISTS annotations"); yield Zotero.DB.queryAsync("DROP TABLE IF EXISTS highlights");