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

refactor: changed config means without dotenv #3

Merged
merged 2 commits into from
Oct 4, 2020

Conversation

Come2Daddy
Copy link
Owner

Removed dotenv dependency. Can parse .env when tests are run localy.
Global options (migrations path and table) can be set with env vars UPMIG_PATH & UPMIG_TABLE.
.upmigrc.js can override env vars. Options passed to constructor or methods prevail over previous definition.

@Come2Daddy Come2Daddy added documentation Improvements or additions to documentation type:refactor labels Oct 4, 2020
@Come2Daddy Come2Daddy self-assigned this Oct 4, 2020
@Come2Daddy Come2Daddy merged commit 2f033a5 into master Oct 4, 2020
@Come2Daddy Come2Daddy deleted the refactor/changed_config_droped_dotenv branch October 4, 2020 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation type:refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant