Use flywaydb callback.