commit 27ab9869be894c6302b9d95dfc76462b927e8df1 parent d9553b3cb210afc6ba85c7c7173d8a3f801bdef9 Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 13 May 2015 11:19:29 -0400 Fix DB upgrading (broken in 14d435b8d) Diffstat:
| M | chrome/content/zotero/xpcom/schema.js | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -2269,10 +2269,9 @@ Zotero.Schema = new function(){ yield Zotero.DB.queryAsync("DROP TABLE itemsOld"); yield Zotero.DB.queryAsync("DROP TABLE tagsOld"); } - - yield _updateDBVersion('userdata', toVersion); - - return true; } + + yield _updateDBVersion('userdata', toVersion); + return true; }); }