Redgate Flyway

Callback Events - Native Connectors

This page lists the callback events that are compatible with Native Connectors.

List of events

Migrate Execution
beforeMigrate Before Migrate runs
beforeEachMigrate Before every single migration during Migrate
afterEachMigrate After every single successful migration during Migrate
afterMigrate After successful Migrate runs
afterMigrateApplied After successful Migrate runs where at least one migration has been applied
afterMigrateError After failed Migrate runs
Clean Execution
beforeClean Before Clean runs
afterClean After successful Clean runs
afterCleanError After failed Clean runs
Validate Execution
beforeValidate Before Validate runs
afterValidate After successful Validate runs
afterValidateError After failed Validate runs

Didn't find what you were looking for?