disable validate on migrate
This commit is contained in:
@@ -37,6 +37,7 @@ public class FlywayContextInitializer implements ApplicationContextInitializer<C
|
|||||||
Flyway flyway = Flyway.configure()
|
Flyway flyway = Flyway.configure()
|
||||||
.dataSource(url, username, password)
|
.dataSource(url, username, password)
|
||||||
.locations(locations)
|
.locations(locations)
|
||||||
|
.validateOnMigrate(false)
|
||||||
.load();
|
.load();
|
||||||
flyway.repair();
|
flyway.repair();
|
||||||
flyway.migrate();
|
flyway.migrate();
|
||||||
|
|||||||
Reference in New Issue
Block a user