diff options
author | Daniel García <[email protected]> | 2018-06-12 17:24:29 +0200 |
---|---|---|
committer | Daniel García <[email protected]> | 2018-06-12 17:30:36 +0200 |
commit | f72efa899e0a2a8adde595842a70698e471a1d3a (patch) | |
tree | f0855a632d363ddf1e2b33f5a7bd78b1b0dedd30 /README.md | |
parent | 483066b9a03b3c84a8c7dbc7367bb5afd17ef96d (diff) | |
download | vaultwarden-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.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 ``` |