fix Flyway table name problem (FINERACT-979)

This commit is contained in:
Michael Vorburger
2020-05-16 18:34:19 +02:00
committed by Michael Vorburger ⛑️
parent 20e8a02294
commit c764d32d5e
@@ -71,6 +71,8 @@ public class TenantDatabaseUpgradeService {
.locations("sql/migrations/core_db")
.outOfOrder(true)
.placeholderReplacement(false)
.configuration(Map.of(
"flyway.table", "schema_version")) // FINERACT-979
.load();
try {
@@ -105,6 +107,8 @@ public class TenantDatabaseUpgradeService {
"fineract_default_tenantdb_port", dbPort,
"fineract_default_tenantdb_uid", dbUid,
"fineract_default_tenantdb_pwd", dbPwd))
.configuration(Map.of(
"flyway.table", "schema_version")) // FINERACT-979
.load();
flyway.repair();