- All Superinterfaces:
Scope
An executable migration between two
Commit
instances.
This type is a Scope
with independent lifecycle and its own
Scope.data()
map.
This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.
- Author:
- Lukas Eder
-
Method Summary
Methods inherited from interface org.jooq.Scope
configuration, creationTime, data, data, data, dialect, dsl, family, settings
-
Method Details
-
from
Commit from()The version that is being migrated from. -
to
Commit to()The version that is being migrated to. -
queries
The queries that are executed by the migration. -
verify
Verify the correctness of a migration.- Throws:
DataMigrationVerificationException
- When something went wrong during the verification of the migration.
-
execute
Apply the migration.- Throws:
DataMigrationException
- When something went wrong during the application of the migration.
-