mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
fix: schema graph generation
Regressed with property value change. Also updated debug file and fixed a missing built-in property ns which caused an invalid debug file
This commit is contained in:
3
deps/db/script/create_graph.cljs
vendored
3
deps/db/script/create_graph.cljs
vendored
@@ -25,7 +25,8 @@
|
||||
[dir db-name] (if (string/includes? graph-dir "/")
|
||||
((juxt node-path/dirname node-path/basename) graph-dir)
|
||||
[(node-path/join (os/homedir) "logseq" "graphs") graph-dir])
|
||||
sqlite-build-edn (-> (resolve-path edn-path) fs/readFileSync str edn/read-string)
|
||||
sqlite-build-edn (merge {:auto-create-ontology? true}
|
||||
(-> (resolve-path edn-path) fs/readFileSync str edn/read-string))
|
||||
conn (db-pipeline/init-conn dir db-name {:classpath (cp/get-classpath)})
|
||||
{:keys [init-tx block-props-tx]} (db-pipeline/build-blocks-tx sqlite-build-edn)]
|
||||
(println "Generating" (count (filter :block/name init-tx)) "pages and"
|
||||
|
||||
Reference in New Issue
Block a user