Flyway 12.2.0 Update: Custom Prefixes & Validation Control
Flyway 12.2.0, released on 2026-03-26, introduces new capabilities for database migration management. This update focuses on increased flexibility in migration naming and validation processes. For full details, refer to the official release notes.
Key Changes
- Custom Migration Prefixes: Flyway 12.2.0 adds new configuration properties like
flyway.sqlMigrationPrefixandflyway.javaMigrationPrefix. These allow users to define custom prefixes for various migration types (SQL, Java, repeatable, undo, etc.), offering more control over naming conventions beyond the defaultVorR. - Advanced Validation Ignore Flags: A suite of
flyway.ignore*properties, includingflyway.ignoreMissingMigrationsandflyway.ignoreChecksumMismatch, provides granular control over thevalidatecommand. These flags enable Flyway to overlook specific types of validation failures, useful for complex deployment scenarios or when certain migration states are intentionally allowed.
Impact for QA Teams
QA teams gain more flexibility in managing test database schemas. Custom prefixes can help organize migrations for specific test environments or features. The new ignore* validation flags allow testers to configure Flyway to tolerate known, non-critical discrepancies during validation, streamlining CI/CD pipelines and reducing false positives in automated checks. This can lead to faster feedback cycles and more focused testing efforts.
