we only need sqlite for our diesel_cli
This commit is contained in:
parent
243bc6397b
commit
5c1c0de1b1
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ cd crablog/site
|
||||||
```
|
```
|
||||||
2. Install diesel and create a database
|
2. Install diesel and create a database
|
||||||
```bash
|
```bash
|
||||||
cargo install diesel_cli
|
cargo install diesel_cli --no-default-features --features "sqlite"
|
||||||
diesel setup --database-url ../content/db.sqlite3
|
diesel setup --database-url ../content/db.sqlite3
|
||||||
diesel migration run --database-url ../content/db.sqlite3
|
diesel migration run --database-url ../content/db.sqlite3
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue