Browse Source

add flyway note

tags/2.0.1
Jonathan Cobb 4 years ago
parent
commit
5510f2d656
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      wizard-server/src/main/java/org/cobbzilla/wizard/server/listener/FlywayMigrationListener.java

+ 3
- 0
wizard-server/src/main/java/org/cobbzilla/wizard/server/listener/FlywayMigrationListener.java View File

@@ -71,6 +71,9 @@ public class FlywayMigrationListener<C extends RestServerConfiguration> extends
log.info("migrate: drop statement ("+e.getStatement()+") failed, ignoring: "+e, e); log.info("migrate: drop statement ("+e.getStatement()+") failed, ignoring: "+e, e);
return; return;
} else { } else {
// consider checking for errors like:
// "Detected resolved migration not applied to database: 2020071901"
// and trying to start in spite of them
throw e; throw e;
} }




Loading…
Cancel
Save