flyway enable out of order migrations
This commit is contained in:
+1
@@ -38,6 +38,7 @@ public class TenantDatabaseUpgradeService {
|
||||
Flyway flyway = new Flyway();
|
||||
flyway.setDataSource(tenant.databaseURL(), tenant.getSchemaUsername(), tenant.getSchemaPassword());
|
||||
flyway.setLocations("sql");
|
||||
flyway.setOutOfOrder(true);
|
||||
flyway.migrate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user