fix: db migrate shouldn't be batched

Because different versions can rely on each other, e.g. the

This commit also will try to rebuild the db from the sqlite table
if migration failed.
This commit is contained in:
Tienson Qin
2024-10-17 11:31:25 +08:00
parent 4214885b7c
commit a02ad793c7
7 changed files with 107 additions and 57 deletions

View File

@@ -987,6 +987,16 @@
(app-context-menu-observer)
[:a#download.hidden]
[:a#download-as-edn-v2.hidden]
[:a#download-as-json-v2.hidden]
[:a#download-as-json-debug.hidden]
[:a#download-as-sqlite-db.hidden]
[:a#download-as-roam-json.hidden]
[:a#download-as-html.hidden]
[:a#download-as-zip.hidden]
[:a#export-as-markdown.hidden]
[:a#export-as-opml.hidden]
[:a#convert-markdown-to-unordered-list-or-heading.hidden]
(when (and (not config/mobile?)
(not config/publishing?))
(help-button))])))