Create user library row in libraries table when initializing DB

This commit is contained in:
Dan Stillman 2014-10-30 01:21:29 -04:00
parent f635d82ea6
commit efa8346d37

View file

@ -1409,6 +1409,8 @@ Zotero.Schema = new function(){
});
yield _updateDBVersion('compatibility', _maxCompatibility);
yield Zotero.DB.queryAsync("INSERT INTO libraries VALUES (0, 'user', 0)");
if (!Zotero.Schema.skipDefaultData) {
// Quick Start Guide web page item
var sql = "INSERT INTO items VALUES(1, 13, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, 0, 'ABCD2345', 0, 0)";