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

flyway -dryRunOutput causes a migrate when a colon is used instead of = #1863

Closed
dvdtknsn opened this issue Dec 7, 2017 · 0 comments
Closed

Comments

@dvdtknsn
Copy link

dvdtknsn commented Dec 7, 2017

What version of Flyway are you using?

5.01

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)

Command line

What database are you using (type & version)?

Oracle XE 11gR2

What operating system are you using?

Win10

What did you do?

(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
I ran: flyway -dryRunOutput:previewDeployment.sql migrate
Note that I used a colon : instead of =
But instead of failing, this goes ahead and performs a flyway migrate, which is precisely what I don't want because I want to generate the script as a precaution.

I know it's partly user error, but I would have expected this incorrect syntax to make the command fail.

@axelfontaine axelfontaine added this to the Flyway 5.0.2 milestone Dec 8, 2017
axelfontaine pushed a commit to flyway/flywaydb.org that referenced this issue Dec 8, 2017
dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants