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 ModelContainerread(boolean initMigration)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 initMigration)
Read all the migrations returning the model with all the migrations applied in version order.- Parameters:
initMigration- If true we don't apply model changes, migration is from scratch.
-
-