diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index c7025e0ba..012705c18 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -311,6 +311,9 @@ Zotero.Schema = new function(){ function _initializeSchema(){ Zotero.DB.beginTransaction(); try { + // Enable auto-vacuuming + Zotero.DB.query("PRAGMA auto_vacuum = 1"); + Zotero.DB.query(_getSchemaSQL('userdata')); _updateDBVersion('userdata', _getSchemaSQLVersion('userdata'));