fix: add attachments support to migrator & backup

This commit is contained in:
thecodrr
2021-10-28 13:37:55 +05:00
parent 3e184345a3
commit 23e584f272
4 changed files with 7 additions and 0 deletions

View File

@@ -117,6 +117,10 @@ export default class Backup {
// properly.
reindex(data);
const collections = [
{
index: data["attachments"],
dbCollection: this._db.attachments,
},
{
index: data["notebooks"],
dbCollection: this._db.notebooks,