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