Class MigrationModel

java.lang.Object
io.ebeaninternal.dbmigration.model.MigrationModel

public class MigrationModel extends Object
Build the model from the series of migrations.
  • Constructor Details

  • Method Details

    • read

      public ModelContainer read(boolean dbinitMigration)
      Read all the migrations returning the model with all the migrations applied in version order.
      Parameters:
      dbinitMigration - If true we don't apply model changes, migration is from scratch.
    • getNextVersion

      public String getNextVersion(String initialVersion)