Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

This documentation site is not updated. The new documentation can now be found on documentation.red-gate.com

Poll

Get Started

Welcome to Flyway, database migrations made easy.

Flyway

Why database migrations?

 

 

Ready to get started? Take a 5 minute tutorial:

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