What is Flyway?

Easy to setup, simple to master. Flyway lets you regain control of your database migrations with pleasure and plain sql. Solves only one problem and solves it well. Flyway migrates your database, so you don't have to worry about it anymore.
Flyway is a tool in the Database Tools category of a tech stack.
Flyway is an open source tool with 4.2K GitHub stars and 902 GitHub forks. Here’s a link to Flyway's open source repository on GitHub

Who uses Flyway?

14 companies use Flyway in their tech stacks, including JustWatch, Red Panda Platform, and Platform.

19 developers use Flyway.

Why developers like Flyway?

Here’s a list of reasons why companies and developers use Flyway
Flyway Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose Flyway in their tech stack.

Miguel Suarez
Miguel Suarez
Lead Developer · | 7 upvotes · 27.3K views

Flyway vs Liquibase #Migration #Backwards-compatible

We were looking for a tool to help us integrating the migration scripts as part of our Deployment. At first sight both tools look very alike, are well integrated with Spring, have a fairly frequent development activity and short release cycles.

Liquibase puts a lot of emphasis on independence with the DB, allowing you to create the scripts on formats like JSON and YML, abstracting away from SQL, which it's also supported. Since we only work with one DB type across services we wouldn't take much advantage of this feature.

Flyway on the other hand has the advantage on being actively working on the integration with PostgreSQL 11, for it's upcoming version 6. Provides a more extensive set of properties that allow us to define what's allowed on what's not on each different environment.

Instead of looking for a tool that will allow us to rollback our DB changes automatically, we decided to implement backwards-compatible DB changes, for example adding a new column instead of renaming an existing one, postponing the deletion of the deprecated column until the release has been successfully installed.

See more
Joshua Dean Küpper
Joshua Dean Küpper
CEO at Scrayos UG (haftungsbeschränkt) · | 2 upvotes · 896 views
atScrayos UG (haftungsbeschränkt)

We use Flyway because we're convinced, that database schemas (DDL) should be within our version control system. Code and database belong together and Flyway is an easy and powerful way to achieve that goal. The API is easy to use and even though a commercial licence is offered, it is by no means mandatory, which was an important criterion for us.

We also wanted to integrate the migration directly into the code as we run in a serverless environment, where manual migrations are troublesome and the code itself essentially needs to migrate the database, based on its own findings. Flyway offers this capability and we didn't find any other solution, that was as lightweight while still being powerful and flexible.

See more

Flyway's features

  • Supported databases: Oracle, SQL Server, SQL Azure, DB2, DB2 z/OS, MySQL, MariaDB, Google Cloud SQL, PostgreSQL, Redshift, Vertica, H2, Hsql, Derby, SQLite
  • Supported build tools: Maven, Gradle, Ant and SBT
  • Works on: Windows, Mac OSX, Linux, Java and Android

Flyway Alternatives & Comparisons

What are some alternatives to Flyway?
Developers store database changes in text-based files on their local development machines and apply them to their local databases. Changelog files can be be arbitrarily nested for better management.
Sequel Pro
Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases.
PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
Open PostgreSQL Monitoring
Open PostgreSQL Monitoring is a free software designed to help you manage your PostgreSQL servers.
Knex.js is a "batteries included" SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle designed to be flexible, portable, and fun to use. It features both traditional node style callbacks as well as a promise interface for cleaner async flow control, a stream interface, full featured query and schema builders, transaction support (with savepoints), connection pooling and standardized responses between different query clients and dialects.
See all alternatives

Flyway's Stats