Flyway (software)


Flyway is an open-source database-migration tool.

Concept

Flyway is based around seven basic commands: Migrate, Clean, Info, Validate, Undo, Baseline, and Repair.
Migrations can be written in SQL or Java.
It has a command-line client, a Java API for migrating the database on application startup, a Maven plugin, and a Gradle plugin.
Plugins are available for Spring Boot, Dropwizard, Grails, Play, SBT, Ant, Griffon, Grunt, Ninja, and more.
Supported databases include Oracle, SQL Server, DB2, MySQL, Percona XtraDB, PostgreSQL, Aurora PostgreSQL, CockroachDB, Redshift, Informix, H2, Hsql, Derby, SQLite, SAP HANA, Sybase ASE, Phoenix, and Firebird.

Adoption

Flyway received 11,500,000 downloads in 2018 alone.
In January 2015, Flyway was placed in the "Adopt" section of the Thoughtworks Technology Radar.
In July 2019, Flyway was acquired by Redgate.

Related tools