mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: db migrate
Old graphs may not have :block/type as a property entity
This commit is contained in:
@@ -443,7 +443,8 @@
|
||||
;; set journal's tag to `#Page`
|
||||
[[:db/add (:db/id journal-entity) :block/tags :logseq.class/Page]]
|
||||
tx-data
|
||||
[[:db/retractEntity (:db/id block-type-entity)]])))
|
||||
(when block-type-entity
|
||||
[[:db/retractEntity (:db/id block-type-entity)]]))))
|
||||
|
||||
(defn- deprecate-logseq-user-ns
|
||||
[conn _search-db]
|
||||
|
||||
Reference in New Issue
Block a user