Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: CURRENT_VERSION is not defined

thecodrrbd1dd7ccf503
diff --git a/packages/core/api/migrations.js b/packages/core/api/migrations.js
index eede1c68d..dc1535214 100644
--- a/packages/core/api/migrations.js
+++ b/packages/core/api/migrations.js
@@ -59,7 +59,7 @@ class Migrations {
);
})
);
- await this._db.context.write("v", CURRENT_VERSION);
+ await this._db.context.write("v", CURRENT_DATABASE_VERSION);
}
}
export default Migrations;