-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute()
Apply the migration.Version
from()
The version that is being migrated from.Queries
queries()
The queries that are executed by the migration.Version
to()
The version that is being migrated to.void
validate()
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 DataMigrationValidationException
Validate a migration.- Throws:
DataMigrationValidationException
- When something went wrong during the validation of the migration.
-
execute
void execute() throws DataMigrationException
Apply the migration.- Throws:
DataMigrationException
- When something went wrong during the application of the migration.
-
-