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
core: remove unnecessary notes collection init before migration
Abdullah Atta815c9eb7de34
diff --git a/packages/core/src/api/migrations.ts b/packages/core/src/api/migrations.tsindex 779d8235b..9dd966cc4 100644--- a/packages/core/src/api/migrations.ts+++ b/packages/core/src/api/migrations.ts@@ -104,8 +104,6 @@ class Migrations {if (!this.required() || this.migrating) return;this.migrating = true;- await this.db.notes.init();-await this.migrator.migrate(this.db, collections, this.version);await this.db.kv().write("v", CURRENT_DATABASE_VERSION);this.version = CURRENT_DATABASE_VERSION;