Flyway (flyway)
原文:https://docs.spring.io/spring-boot/api/rest/actuator/flyway.html
flyway 端点提供由 Flyway 执行的数据库迁移信息。
检索迁移信息
向 /actuator/flyway 发出 GET 请求:
$ curl 'http://localhost:8080/actuator/flyway' -i -X GET
响应按上下文组织,包含 flywayBeans 映射。每个 Flyway bean 包含 migrations 列表,每个迁移包含 checksum、description、installedOn、installedBy、executionTime、migrationType、script、state、version 等字段。需要一个或多个 Flyway bean。