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 6.0 clean migrate command is throwing an 'eName' is not recognized as an internal or external command error on PostgreSQL 11 #2487

Morshed11218 opened this issue Aug 27, 2019 · 2 comments


Copy link

commented Aug 27, 2019

When executing command 'clean migrate ' i'm getting an error stating 'eName' is not recognized as an internal or external command.

This is occurring on PostgreSQL 11.3

Sorry, had to block sensitive information. Error is highlighted


This comment has been minimized.

Copy link

commented Aug 28, 2019

Same issue here on windows.
Line 69 of flyway.cmd should be :getCurrentBatch instead of :getCurrentBatch variableName


This comment has been minimized.

Copy link

commented Aug 28, 2019

This looks like a case of careless copy/paste from Stack Overflow (see the link in this commit) . Fix suggested by @pcable will be in the next release.

@juliahayward juliahayward added this to the Flyway 6.0.1 milestone Aug 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.