A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: do not run migrations if db is on the same version
thecodrr13be2e503529
diff --git a/packages/core/api/migrations.js b/packages/core/api/migrations.jsindex 910133f96..687d5144f 100644--- a/packages/core/api/migrations.js+++ b/packages/core/api/migrations.js@@ -16,7 +16,7 @@ class Migrations {}async migrate() {- if (this.dbVersion > CURRENT_DATABASE_VERSION) return;+ if (this.dbVersion >= CURRENT_DATABASE_VERSION) return;await this._db.notes.init();const content = await this._db.content.all();