Home > database >  Flyway how to roll back to the previous version
Flyway how to roll back to the previous version

Time:09-19

As title, flyway what command can be used on rolling back and forth to a version, or a certain version, a great god, and beg to solve!

CodePudding user response:

Don't know whether what you said back on a version, returns on a version, in Java code to invoke flyway. The clean (), and then set to migrate version to the version you need, such as the first version is set: flyway. SetTargetAsString (" 1 "), and then execute the flyway. Migrate () should be ok,

CodePudding user response:

With the clean (), the original data, the best preserved a, don't accidentally delete

CodePudding user response:

clean?
  •  Tags:  
  • DB2
  • Related