public interface JdbcMigration
MigrationInfoProviderinterface, 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
FlywayConfiguration is automatically injected upon creation,
which is especially useful for getting placeholder and schema information.
void migrate(Connection connection) throws Exception
connection- The connection to use to execute statements.
Exception- when the migration failed.
Copyright © 2018. All rights reserved.