BaseJdbcMigrationpublic interface JdbcMigration
MigrationInfoProvider
interface, in which case it can be specified programmatically. The checksum of this migration (for validation)
will also be null, unless the migration also implements the MigrationChecksumProvider,
in which case it can be returned programmatically.
When the JdbcMigration implements ConfigurationAware,
the master FlywayConfiguration is automatically injected upon creation,
which is especially useful for getting placeholder and schema information.
JdbcMigration instead.| Modifier and Type | Method | Description |
|---|---|---|
void |
migrate(Connection connection) |
Executes this migration.
|
void migrate(Connection connection) throws Exception
connection - The connection to use to execute statements.Exception - when the migration failed.Copyright © 2018. All rights reserved.