- All Superinterfaces:
@Experimental public interface Migration extends Scope
An executable migration between two
This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.
- Lukas Eder
fromCommit from()The version that is being migrated from.
toCommit to()The version that is being migrated to.
queries@NotNull @NotNull Queries queries()The queries that are executed by the migration.
validatevoid validate() throws DataMigrationValidationExceptionValidate a migration.
DataMigrationValidationException- When something went wrong during the validation of the migration.
executevoid execute() throws DataMigrationExceptionApply the migration.
DataMigrationException- When something went wrong during the application of the migration.