Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add db-config-ini-key to CLI options #41

Merged
merged 1 commit into from
Dec 13, 2017
Merged

Add db-config-ini-key to CLI options #41

merged 1 commit into from
Dec 13, 2017

Conversation

karenc
Copy link
Owner

@karenc karenc commented Aug 14, 2017

This allows us to use the database connection string in a config file
that does not use "db-connection-string" as the key. For example in a
config file like this:

[app:main]
postgresql.db-connection-string = dbname=travis user=travis host=localhost

dbmigrator will use this setting if
--db-config-ini-key postgresql.db-connection-string is passed in.

Close #5

This allows us to use the database connection string in a config file
that does not use "db-connection-string" as the key.  For example in a
config file like this:

```
[app:main]
postgresql.db-connection-string = dbname=travis user=travis host=localhost
```

dbmigrator will use this setting if
`--db-config-ini-key postgresql.db-connection-string` is passed in.

Close #5
@coveralls
Copy link

coveralls commented Aug 14, 2017

Coverage Status

Coverage increased (+0.04%) to 96.219% when pulling 81e7e72 on db-config into 5091c38 on master.

@karenc karenc merged commit 9ae1d93 into master Dec 13, 2017
@karenc karenc deleted the db-config branch December 13, 2017 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants