Flyway Documentation
Published 11 October 2021
Flyway extends DevOps to your databases to accelerate software delivery and ensure quality code. From version control to continuous delivery, Flyway builds on application delivery processes to automate database deployments.
Flyway Desktop offers a GUI-based experience for database developers and data professionals to track changes to their database objects and manage migration scripts in version control.
The Flyway command-line is a standalone Flyway distribution. It runs on Windows, macOS and Linux and it is primarily meant for users who wish to migrate their database from the command-line without having to integrate Flyway into their applications nor having to install a build tool.
Flyway can be integrated within an application using the API, allowing migrations to be applied when the application starts.
Flyway Desktop
Watch this 6.5 minute video for a quick overview.
For more information, visit:
Flyway Command-line & API
The Flyway command line and API are included as part of your Flyway Desktop installer.
Flyway has the following commands at its disposal: Migrate , Clean , Info , Validate , Undo , Baseline, Repair, Check and Snapshot .
Migrations can be written in SQL (native database-specific syntax such as PL/SQL and T-SQL is supported) or Java (for advanced data transformations or dealing with LOBs).
If you are on the JVM, we recommend using the Java API for migrating the database on application startup. Alternatively, you can also use the Maven plugin or Gradle Plugin. There are community plugins available for Spring Boot, Dropwizard, Grails, Play, SBT, Ant, Griffon, Grunt, Ninja and more!
You can find out about Databases the CLI supports in the documents and the list includes Oracle, SQL Server, MySQL (plus variants), PostgreSQL (and many variants) as well as NoSQL databases like MongoDB and Cassandra.
If you are looking for whether specific databases have Foundational or Advanced support then see Supported Databases and Versions
Flyway Editions
CommunityPerfect for individual developers, or non-commercial projects looking for a basic and reliable framework for versioning and automating the deployment of database changes | TeamsIdeal for organizations looking to improve collaboration and fine tune their processes during development and the deployment of database changes | EnterpriseIdeal for medium and large enterprises who require secure and automated processes with compliance control to develop, test and deploy database changes |
Explore more details about the differences between these editions in our feature glossary.
Contact Us
We are actively improving our x-Database DevOps solution. If your team has any feedback, please get in touch with our development team.