java.lang.Object
io.ebean.migration.runner.LocalMigrationResources
Loads the DB migration resources and sorts them into execution order.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalMigrationResources(MigrationConfig migrationConfig) Construct with configuration options. -
Method Summary
Modifier and TypeMethodDescriptionReturn the list of migration resources in version order.booleanRead the init migration resources (usually only 1) returning true if there are versions.booleanRead all the migration resources (SQL scripts) returning true if there are versions.
-
Constructor Details
-
LocalMigrationResources
Construct with configuration options.
-
-
Method Details
-
readInitResources
public boolean readInitResources()Read the init migration resources (usually only 1) returning true if there are versions. -
readResources
public boolean readResources()Read all the migration resources (SQL scripts) returning true if there are versions. -
getVersions
Return the list of migration resources in version order.
-