Version control for your PostgreSQL database
A simple and reliable way to manage and deploy your PostgreSQL changes with plain SQL.
Get all the latest guides, community news, product updates, and resources
For non-JVM users and environments without build tools
$ flyway migrate -url=... -user=... -password=...Get started with the command line tool
Migrate directly from within your application
Flyway flyway = Flyway.configure().dataSource(url, user, password).load();Get started with the Java API
Seamless integration with Maven 2/3 builds
> mvn flyway:migrate -Dflyway.url=... -Dflyway.user=... -Dflyway.password=...Get started with Maven 2/3 builds
Seamless integration with Gradle builds
> gradle flywayMigrate -Dflyway.url=... -Dflyway.user=... -Dflyway.password=...Get started with the Gradle plugin
Join the hundreds of thousands of delighted users.
"Flyway brings databases into the 21st century with source control management and version schemas"
"My favorite thing about Flyway is the simplicity. I think this is key when you want to embrace migrations-based deployment, because you want to keep things simple, right? And believe me – Flyway is the right tool for that job."