Flyway supports the following callbacks, from ./sql/<callback>.${sqlMigrationSuffix:-sql} files:
- beforeMigrate
- beforeEachMigrate
- afterEachMigrate
- afterMigrate
- beforeClean
- afterClean
- beforeInfo
- afterInfo
- beforeValidate
- afterValidate
- beforeBaseline
- afterBaseline
- beforeRepair
- afterRepair
Further research is needed to determine what (if any) parameters are passed to the callback files (likely via Placeholder substitution).