Which version and edition of Flyway are you using?
Flyway pro 6.0.8
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)
Which database are you using (type & version)?
Which operating system are you using?
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.) Error override configuration,
Say, U4__REL.sql includes a package, which has compilation failure
#1) Undo command
a) Throws flyway exception as expected, since we override warning as error
b) Does not record undo and success = 0 in flyway_schema_history table. ie., I could see only until V4__REL in flyway_schema_history
What did you expect to see?
Since its a undo failure, a record in flyway_schema_history table with success = 0
What did you see instead?
No undo record is found in flyway_schema_history , in case of errorOverride failure
PS: The behaviour is working as expected for 'migrate' command
The text was updated successfully, but these errors were encountered: