revert: remove :block/properties

This commit is contained in:
Tienson Qin
2024-04-28 19:44:53 +08:00
parent d0e2a0991b
commit 5d4ae66d86
20 changed files with 118 additions and 200 deletions

View File

@@ -239,6 +239,8 @@
[[:db.fn/retractEntity [:file/path file-path]]])
delete-page-tx (concat (db-refs->page repo page)
[[:db.fn/retractEntity (:db/id page)]])
;; TODO: is this still needed?
delete-property-pairs-tx (when property?
(map (fn [d] [:db.fn/retractEntity (:e d)]) (d/datoms db :avet (:db/ident page))))
tx-data (concat truncate-blocks-tx-data