From 75e6e9a2996ab5186f29f64eda2850b49da0ad93 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 14 Mar 2024 20:00:09 -0400 Subject: Update env var names --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1b11a49..729c86a 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ $ touch bolt.toml 2. Add the following contents to the file: ```toml -[connection] +[database] host = "localhost" port = 5432 user = "bolt_user" @@ -276,11 +276,10 @@ version_style = "sequential" # Connection parameters for the database Bolt will be # applying migrations to. All connection parameters are # required. -[connection] +[database] # The host to use to connect to your database. host = # The port to use to connect to your database. -# Note: This should be an integer. port = # The user to use to connect to your database. user = @@ -300,12 +299,12 @@ All configuration file settings have corresponding environment variables. - `BOLT_MIGRATIONS_DIR_PATH` - `BOLT_MIGRATIONS_VERSION_STYLE` -- `BOLT_DB_CONN_HOST` -- `BOLT_DB_CONN_PORT` -- `BOLT_DB_CONN_USER` -- `BOLT_DB_CONN_PASSWORD` -- `BOLT_DB_CONN_DBNAME` -- `BOLT_DB_CONN_DRIVER` +- `BOLT_DB_HOST` +- `BOLT_DB_PORT` +- `BOLT_DB_USER` +- `BOLT_DB_PASSWORD` +- `BOLT_DB_NAME` +- `BOLT_DB_DRIVER` ### Commands -- cgit v1.2.3