fix: tweak message and update docs for updated replace cmd flow

This commit is contained in:
Gabriel Horner
2024-06-14 14:22:44 -04:00
parent ff050779ec
commit 56063ed2bf
2 changed files with 3 additions and 3 deletions

View File

@@ -398,8 +398,8 @@ These tasks are specific to database graphs. For these tasks there is a one time
Created graph inferred!
```
Finally, upload this created graph with the dev command: `Replace graph with`
... Switch to the graph and you can use the created graph!
Finally, upload this created graph with the dev command: `Replace graph with
its db.sqlite file`. You'll be switched to the graph and you can use it!
* `dev:db-datoms` and `dev:diff-datoms` - Save a db's datoms to file and diff two datom files

View File

@@ -91,7 +91,7 @@
(defn import-chosen-graph
[repo]
(p/let [_ (persist-db/<unsafe-delete repo)]
(notification/show! "Graph updated!" :success)
(notification/show! (str "Graph updated! Switching to graph ...") :success)
(state/pub-event! [:graph/switch repo])))
(defn ^:export replace-graph-with-db-file []