mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 07:31:33 +00:00
note history
This commit is contained in:
2
node_modules/db.js
generated
vendored
2
node_modules/db.js
generated
vendored
@@ -5,7 +5,7 @@ var path = require('path');
|
||||
// var dbPath = require('nw.gui').App.dataPath + '/nedb'
|
||||
var dbPath = '/Users/life/Library/Application Support/Leanote' + '/nedb';
|
||||
var db = {};
|
||||
var dbNames = ['notebooks', 'notes', 'users', 'tags', 'images', 'attachs'];
|
||||
var dbNames = ['notebooks', 'notes', 'users', 'tags', 'images', 'attachs', 'noteHistories'];
|
||||
for(var i in dbNames) {
|
||||
var name = dbNames[i];
|
||||
db[name] = new Datastore({ filename: path.join(dbPath, name + '.db'), autoload: true });
|
||||
|
Reference in New Issue
Block a user