Use when you need to add or review Flyway database migrations in a Micronaut application — micronaut-flyway, db/migration scripts, flyway.datasources.* configuration, and alignment with JDBC or Micronaut Data. Part of the skills-for-java project
Apply Flyway migration guidelines for Micronaut.
What is covered in this Skill?
micronaut-flyway with JDBC/Hikari and database driverssrc/main/resources/db/migrationflyway.datasources.* (per-datasource) configuration in YAML/properties@511-frameworks-micronaut-jdbc and @512-frameworks-micronaut-dataScope: Apply recommendations based on the reference rules and good/bad examples.
Before applying Flyway or SQL changes, ensure the project compiles. After improvements, run full verification.
./mvnw compile or mvn compile before applying any change./mvnw clean verify or mvn clean verify after applying improvementsFor detailed guidance, examples, and constraints, see references/513-frameworks-micronaut-db-migrations-flyway.md.