Class MigrationManager

java.lang.Object
org.javalite.db_migrator.MigrationManager

public class MigrationManager extends Object
  • Constructor Details

  • Method Details

    • getPendingMigrations

      public List<Migration> getPendingMigrations()
      Returns pending migrations.
      Returns:
      a sorted set of pending migrations
    • migrate

      public void migrate(org.apache.maven.plugin.logging.Log log, String encoding)
      Migrates the database to the latest version, enabling migrations if necessary.
    • createSchemaVersionTableIfDoesNotExist

      public void createSchemaVersionTableIfDoesNotExist()