Interface MigrationCallback


public interface MigrationCallback

Code run at a point of a migration run, as Flyway's Callback is: before and after migrate, each migration, validate, undo and the other commands. A SQL script named after the event (beforeMigrate.sql, afterEachMigrate__grants.sql) is the other kind; both run, scripts first.

The events are the constants of this interface, spelled as Flyway spells them.