core: update core version to 5.8

This commit is contained in:
Abdullah Atta
2022-10-12 20:33:37 +05:00
committed by Abdullah Atta
parent 0a94ee7c60
commit f3fa7fe744
4 changed files with 19 additions and 15 deletions

View File

@@ -30,16 +30,12 @@ class Migrator {
continue;
}
// check if item is permanently deleted or just a soft delete
if (item.deleted && !item.type) {
await collection.dbCollection?._collection?.addItem(item);
continue;
}
// temporary fix for streetwriters/notesnook#751
if (item.type === "content") {
item.type = "tiptap";
}
item = await migrateItem(
item,
version,