Pārlūkot izejas kodu

print proper name of flyway table

tags/2.0.1
Jonathan Cobb pirms 4 gadiem
vecāks
revīzija
6bf15dc140
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      wizard-server/src/main/java/org/cobbzilla/wizard/server/listener/FlywayMigrationListener.java

+ 1
- 1
wizard-server/src/main/java/org/cobbzilla/wizard/server/listener/FlywayMigrationListener.java Parādīt failu

@@ -43,7 +43,7 @@ public class FlywayMigrationListener<C extends RestServerConfiguration> extends
configuration.execSql("SELECT * from flyway_schema_history");
} catch (UncheckedSqlException e) {
if (e.getSqlException() != null && e.getSqlException() instanceof PSQLException && e.getMessage().contains(" does not exist")) {
log.warn("schema_version table does not exist, will baseline DB");
log.warn("flyway_schema_history table does not exist, will baseline DB");
baseline = true;
} else {
throw e;


Notiek ielāde…
Atcelt
Saglabāt