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

Support custom config file #433

Open
jazelly opened this issue May 1, 2023 · 1 comment
Open

Support custom config file #433

jazelly opened this issue May 1, 2023 · 1 comment

Comments

@jazelly
Copy link

jazelly commented May 1, 2023

Is your feature request related to a problem? Please describe.
It seems I cannot specify a config file

Describe the solution you'd like
Ideally, I can run migration with --env or --config

Describe alternatives you've considered

Additional context

@Wolfium
Copy link

Wolfium commented Oct 29, 2024

Maybe a little bit late, but checking on this framework to use it on my personal protect

I haven't tried it yet, based on this example, and due to it being a javascript file running
Would it be possible to use a usual environment variable instead of a hard-coded string for the connection and/or database name?

If that is the case, you could use a different variable value on each environment and it should do the trick

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

No branches or pull requests

2 participants