Reputation: 9592
flyway has a task called ['Undo']
1 that's supposed to revert last migration.
But the flyway jar (flyway-core-4.2.0 sources.jar!\org\flywaydb\core\Flyway.java)
doesn't have that method so when I run gradlew flywayUndo
, I get following error . But when I run gradlew flywayInfo
it works fine as the info
method exists in the jar. How to undo last mighration using flyway gradle jar ?
Task 'flywayUndo' not found in project ':applications/XXXXXX'. Some candidates are: 'flywayInfo'.
Upvotes: 2
Views: 3552