Commit a8da5fbd authored by qiwihui's avatar qiwihui Committed by Katharina Fey
Browse files

Make it more clear to setup diesel_cli

Install with `cargo install diesel_cli --features="barrel-migrations"` with get raised error, it is better to install with `barrel/sqlite3,sqlite` features.
parent bb715296
......@@ -15,7 +15,7 @@ Using rust migrations (via `barrel`) with `diesel` is really simple.
First make sure that you installed the `diesel_cli` with the `barrel-migrations` feature flag:
~ cargo install diesel_cli --features="barrel-migrations"
~ cargo install diesel_cli --features="barrel-migrations,barrel/sqlite3,sqlite"
**Important:** you can only select one (1) backend with diesel.
......@@ -23,7 +23,7 @@ Whichever you select will determine the migration files that are generated later
diesel = { version = "1.3", features = ["sqlite3"] }
diesel = { version = "1.4", features = ["sqlite"] }
# ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment