Class MigrationModel
- java.lang.Object
-
- io.ebeaninternal.dbmigration.model.MigrationModel
-
public class MigrationModel extends Object
Build the model from the series of migrations.
-
-
Constructor Summary
Constructors Constructor Description MigrationModel(File modelDirectory, String modelSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNextVersion(String initialVersion)
ModelContainer
read(boolean dbinitMigration)
Read all the migrations returning the model with all the migrations applied in version order.
-
-
-
Constructor Detail
-
MigrationModel
public MigrationModel(File modelDirectory, String modelSuffix)
-
-
Method Detail
-
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)
-
-