Archived
1
0
Fork 0

doc: update installation guide

This commit is contained in:
Dmitriy Pleshevskiy 2021-03-26 02:22:29 +03:00
parent 42169f9f40
commit 29ce430e00

View file

@ -13,12 +13,19 @@ Simple SQL migration manager for your project.
cargo install migra-cli
```
if you want to use dotenv for configure migra cli, just run the following in your terminal.
If you want to use dotenv for configure migra cli, just run the following in your terminal.
```bash
cargo install migra-cli --features dotenv
```
Each supported database is located in separate features with a similar name.
The default is `postgres`.
For example, if you only want to work with `mysql`, you need to disable `postgres` and enable `mysql`.
```bash
cargo install migra-cli --no-default-features --features mysql
```
### Usage