mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: rebuild db for file based graphs too when missing addresses
This commit is contained in:
@@ -368,7 +368,7 @@
|
||||
|
||||
(catch :default e
|
||||
(log/error "DB migrate failed, error: " e)
|
||||
(if (and db-based? (= (.-message e) "DB missing addresses"))
|
||||
(if (= (.-message e) "DB missing addresses")
|
||||
(do
|
||||
(rebuild-db-from-datoms! conn db import-type)
|
||||
(db-migrate/migrate conn search-db))
|
||||
|
||||
Reference in New Issue
Block a user