-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Multiple configurtion file problem error #2647
Comments
Versioned migrations are executed in version number order, so I assume you mean to order the execution of repeatable migrations. Script ordering is a known inflexibility of Flyway that we're currently thinking about (See #2610, and #2541 (comment)). We don't have a concrete timeframe on when a solution to this problem will be available. Can you provide reproduction steps, including what you did, what you expected, and what actually happened?
I'm not sure I completely understand what you mean. The placeholder feature might help. You can configure placeholder values like the other config options (config file, CLI arguments, etc) So in your script you can have something like:
In each environment, call migrate like Does that help? |
General problem captured here #2698 |
Which version and edition of Flyway are you using?
6.1.0
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
maven plugin
Which database are you using (type & version)?
oracle 11g
Which operating system are you using?
windows
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
creating multiple configurations for single schema.
Hello Flyway,
the dependencies which are need to be picked in earlier script EX: (v1 has tables that need to be picked up first before executing G1,but it directly picks up G1 that throws error).
2)There some files(scripts) that have different flyway.userid and password in the same schema .
so is ther any method that wee can have Dynamic userid and password so that we can change when we run after migration
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: