Class Migration

java.lang.Object
org.openmetadata.service.migration.Migration

public final class Migration extends Object
  • Method Details

    • 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)
    • lastMigrationFile

      public static String lastMigrationFile(MigrationConfiguration conf) throws IOException
      Throws:
      IOException