From 29ce430e0089a4076a28414d2e0840166e671fce Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 26 Mar 2021 02:22:29 +0300 Subject: [PATCH] doc: update installation guide --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9fdc8da..d71507a 100644 --- a/README.md +++ b/README.md @@ -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