Flyway repair with Spring Boot

后端 未结 5 1278
不思量自难忘°
不思量自难忘° 2020-12-24 11:40

I don\'t quite understand what I am supposed to do when a migration fails using Flyway in a Spring Boot project.

I activated Flyway by simply adding the Flyway depen

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 12:13

    Install flyway locally as said above, change directory into the installation then run (example for H2):

    ./flyway -url=jdbc:h2:/Users/mugo/dev/h2/das-boot -user=sa -password= repair
    

提交回复
热议问题