| Package | Description |
|---|---|
| org.flywaydb.core.api |
FlywayException, MigrationInfo and related classes.
|
| org.flywaydb.core.api.callback |
Interfaces for Flyway lifecycle callbacks.
|
| Modifier and Type | Method and Description |
|---|---|
MigrationInfo[] |
MigrationInfoService.all()
Retrieves the full set of infos about applied, current and future migrations.
|
MigrationInfo[] |
MigrationInfoService.applied()
Retrieves the full set of infos about the migrations applied to the DB.
|
MigrationInfo |
MigrationInfoService.current()
Retrieves the information of the current applied migration, if any.
|
MigrationInfo[] |
MigrationInfoService.pending()
Retrieves the full set of infos about pending migrations, available locally, but not yet applied to the DB.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FlywayCallback.afterEachMigrate(Connection connection,
MigrationInfo info)
Runs after each migration script is executed.
|
void |
FlywayCallback.beforeEachMigrate(Connection connection,
MigrationInfo info)
Runs before each migration script is executed.
|
Copyright © 2015. All rights reserved.