mirror of
https://github.com/logseq/logseq.git
synced 2026-05-21 03:12:38 +00:00
fix: remove outdated checksum entities when validating db
This commit is contained in:
@@ -57,6 +57,10 @@
|
||||
[[:db/add (:db/id entity) :logseq.property.class/extends :logseq.class/Root]]
|
||||
(and (or (ldb/class? entity) (ldb/property? entity)) (ldb/internal-page? entity))
|
||||
[[:db/retract (:db/id entity) :block/tags :logseq.class/Page]]
|
||||
|
||||
(and (:logseq.property.asset/remote-metadata entity) (nil? (:logseq.property.asset/type entity)))
|
||||
[[:db/retractEntity (:db/id entity)]]
|
||||
|
||||
:else
|
||||
nil)))
|
||||
errors)
|
||||
|
||||
Reference in New Issue
Block a user