Class Migration


  • public final class Migration
    extends Object
    • Method Detail

      • lastMigrated

        public static Optional<String> lastMigrated​(org.jdbi.v3.core.Jdbi jdbi)
        Run a query to MySQL to retrieve the last migrated Flyway version. If the Flyway table DATABASE_CHANGE_LOG does not exist, we will stop the Catalog App and inform users how to run Flyway.
      • lastMigratedServer

        public static Optional<String> lastMigratedServer​(org.jdbi.v3.core.Jdbi jdbi)