mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
core: remove unnecessary notes collection init before migration
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user