mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 13:14:39 +00:00
refactor: Update importer to use validate-local-db
Also update validation in DB scripts: * replace alternative validate-db impl with standard CLI one * Add validation to import script * Choose to decouple other DB scripts from validate-db as it may go away later
This commit is contained in:
@@ -109,5 +109,4 @@
|
||||
(doseq [file-graph file-graphs]
|
||||
(let [db-graph (fs/path parent-graph-dir (fs/file-name file-graph))]
|
||||
(println "Importing" (str db-graph) "...")
|
||||
(apply shell "bb" "dev:db-import" file-graph db-graph import-options)
|
||||
(shell "bb" "dev:validate-db" db-graph "-gHc")))))
|
||||
(apply shell "bb" "dev:db-import" file-graph db-graph (concat import-options ["--validate"]))))))
|
||||
|
||||
Reference in New Issue
Block a user