flyway enable out of order migrations

This commit is contained in:
Vishwas Babu A J
2013-08-12 21:24:25 +05:30
parent fa8de862f4
commit 32ba28031e
@@ -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();
}
}