-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute()Apply the migration.Versionfrom()The version that is being migrated from.Queriesqueries()The queries that are executed by the migration.Versionto()The version that is being migrated to.voidvalidate()Validate a migration.
-
-
-
Method Detail
-
from
Version from()
The version that is being migrated from.
-
to
Version to()
The version that is being migrated to.
-
queries
Queries queries()
The queries that are executed by the migration.
-
validate
void validate() throws DataMigrationValidationExceptionValidate a migration.- Throws:
DataMigrationValidationException- When something went wrong during the validation of the migration.
-
execute
void execute() throws DataMigrationExceptionApply the migration.- Throws:
DataMigrationException- When something went wrong during the application of the migration.
-
-