Share your experience with Database DevOps by taking part in the 2021 State of Database DevOps survey Take the survey

Flyway Redgate
Version control for your database.
Robust schema evolution across all your environments.
With ease, pleasure and plain SQL.

Get Started with Flyway

Works on:

Stay updated with our newsletter

40,000,000
downloads in 2020
Database Migrations made Easy.
Version control for your database so you can migrate it with ease and confidence

Simple to use

Flyway lets you regain control of your migrations with ease

Solves one problem well

Flyway migrates your database, so you don't have to worry about it anymore

Made for CI/CD

Releases have never been this easy

Get up and running
in 5 minutes

For non-JVM users and environments without build tools

> flyway migrate -url=... -user=... -password=...
Get Started with the Command-line Tool How Flyway works

Migrate directly from within your application

Flyway flyway = Flyway.configure().dataSource(url, user, password).load();
flyway.migrate();
Get Started with the Java API How Flyway works

Seamless integration with Maven 2/3 builds

> mvn flyway:migrate -Dflyway.url=... -Dflyway.user=... -Dflyway.password=...
Get Started with the Maven Plugin How Flyway works

Seamless integration with Gradle builds

> gradle flywayMigrate -Dflyway.url=... -Dflyway.user=... -Dflyway.password=...
Get Started with the Gradle Plugin How Flyway works
It just works. Refreshingly simple.
Migrate from any version (incl. an empty database) to the latest version of the schema
Plain Old Sql

Plain SQL scripts (incl. placeholder replacement). No proprietary XML formats, no lock-in.

No limits

Java-based migrations for advanced data transformations and handling with LOBs

Zero required dependencies

All you need is Java 7+ and your Jdbc driver and you're good to go!

Convention Over Configuration

Filesystem and Classpath Scanning to automatically discover Sql and Java migrations

Highly reliable

Safe for cluster environments (Multiple machines can migrate in parallel)

Cloud support

Full support for Amazon RDS, Microsoft SQL Azure, Google Cloud SQL, Heroku & more

Auto-migration on startup

Ship migrations together with the application and run them automatically on startup using the API

Fail fast

Inconsistent database or failed migration prevents app from starting.

Schema Clean

Drop all tables, views, triggers, ... from a schema without dropping the schema itself


Your relational database. Supported.
Choose from the wide range of supported databases

(incl. Amazon RDS)

(incl. Amazon RDS, Azure Database & Google Cloud SQL)

(incl. Amazon RDS)

(incl. Amazon RDS & Azure SQL Database)

(Formerly Data Warehouse)

(incl. Amazon RDS, Azure Database, Google Cloud SQL & Heroku)


What People are saying
Join the hundreds of thousands of delighted users.
Database migrations are something that Java developers struggle with, and Flyway provides a nice tool that anyone with basic knowledge of SQL can use. For that reason it has become the favourite migration tool in the Spring Boot team.

Dave Syer, Senior Consulting Engineer, Pivotal

Flyway should be a fundamental part of any Java EE application devops. It simplifies database migration and seamlessly integrates with your application lifecycle.

Arun Gupta, Director of Developer Advocacy, Red Hat

With techniques such as Continuous Delivery becoming more mainstream, automated database migrations are a baseline capability for many software teams. Flyway makes it as painless as possible to automate this process.

Erik Dörnenburg, Head of Technology Europe, ThoughtWorks

With Flyway you can combine the full power of SQL with solid versioning. This makes setting up and maintaining database schemas a breeze. We use it across all environments including production, making it a perfect fit for our Continuous Delivery and Zero Downtime pipeline. I highly recommend it.

Armin Gattung, Freelance Consultant


Ready to get started?
Pick any of these to learn more.

Why database migrations? How Flyway works First steps Download