aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2018-06-12 17:24:29 +0200
committerDaniel García <[email protected]>2018-06-12 17:30:36 +0200
commitf72efa899e0a2a8adde595842a70698e471a1d3a (patch)
treef0855a632d363ddf1e2b33f5a7bd78b1b0dedd30 /README.md
parent483066b9a03b3c84a8c7dbc7367bb5afd17ef96d (diff)
downloadvaultwarden-f72efa899e0a2a8adde595842a70698e471a1d3a.tar.gz
vaultwarden-f72efa899e0a2a8adde595842a70698e471a1d3a.zip
Updated dependencies and created 'rust-toolchain', to mark a working nightly to rustup users, and hopefully avoid some nightly breakage.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6b69814e..aa4251dc 100644
--- a/README.md
+++ b/README.md
@@ -78,7 +78,7 @@ Finally copy the contents of the `web-vault/dist` folder into the `bitwarden_rs/
## How to recreate database schemas
Install diesel-cli with cargo:
```sh
-cargo install diesel_cli --no-default-features --features sqlite-bundled # Or use only sqlite to use the system version
+cargo install diesel_cli --no-default-features --features sqlite-bundled
```
Make sure that the correct path to the database is in the `.env` file.
@@ -91,7 +91,9 @@ diesel migration generate <name>
Modify the *.sql files, making sure that any changes are reverted in the down.sql file.
Apply the migrations and save the generated schemas as follows:
-```
+```sh
diesel migration redo
-diesel print-schema > src/db/schema.rs
+
+# This step should be done automatically when using diesel-cli > 1.3.0
+# diesel print-schema > src/db/schema.rs
```