# flyway/flyway

Flyway by Redgate • Database Migrations Made Easy.

Repository: https://github.com/flyway/flyway
Canonical: https://ross.abutalabs.com/products/flyway
Homepage: https://flywaydb.org
Language: Java
License: Apache-2.0
License Family: permissive
Topics: flyway, java, database-migrations, java-library, continuous-delivery, devops, sql, continuous-deployment, database, database-deployment, database-administration, database-management, mysql, postgresql, sqlserver, db2, aurora, mariadb, redgate
Last push: 2026-08-26T09:33:09+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 5010, "days_push": 7, "days_rel": 7, "gap_med": 8.0, "n_releases_24m": 83}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10029, forks 1630 (observed 2026-08-28T04:10:39.300577+00:00)

## What it is
Flyway is an open-source database migration tool by Redgate that versions and applies schema and data changes across 50+ database systems using SQL, Java, or script-based migrations tracked in a schema history table. It ships as a Java library, Maven/Gradle plugin, and standalone CLI, integrating with CI/CD pipelines and frameworks like Spring Boot.

## Use cases
- version and apply database schema changes automatically
- run database migrations in CI/CD pipelines
- keep database schemas in sync across environments
- migrate a database schema on application startup
- manage SQL migration scripts with version numbering
- roll out schema changes to multiple database instances
- set up database migrations for a Spring Boot project

## When to choose
- you need reliable, versioned schema migrations across many database engines
- you want migrations as plain SQL files tracked in source control
- you need a Java/JVM-integrated migration tool for CI/CD or Spring Boot
- you want a mature, widely adopted tool with a simple convention-over-configuration workflow

## When to avoid
- you need bidirectional schema sync or automatic diffing between a live database and models
- you require advanced features like undo, drift detection, or a GUI, which are paid Redgate editions
- your stack is non-JVM and you prefer a different migration ecosystem (e.g., Alembic, Django migrations)
- you need complex programmatic transformation logic beyond what SQL/Java migrations comfortably express

## Facets
- artifact type: library
- maturity: stable
- function: database, deployment, ci-cd, cli, developer-tools
- domain: databases, developer-tools
- platform: jvm, cli, cross-platform, windows
- tags: database-migrations, schema-migration, sql, version-control-for-databases, continuous-delivery, postgresql, mysql, oracle, sql-server, devops, automation, docker, linux, macos

## Member repositories
- flyway/flyway (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:39.300577+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:19:55.041532+00:00, confidence not recorded.
  - readme: https://github.com/flyway/flyway (fetched 2026-08-28T04:10:39.300577+00:00, sha 9a12d7dfd8b4)
  - homepage: https://flywaydb.org (fetched 2026-08-29T08:19:53.717776+00:00, sha 7a517d0ba6ca)
  - site_page: https://documentation.red-gate.com (fetched 2026-08-29T08:19:53.760331+00:00, sha 867d4a1c33ed)
  - site_page: https://www.red-gate.com/products/flyway/features (fetched 2026-08-29T08:19:53.762228+00:00, sha 6cba0be47ac9)
  - site_page: https://documentation.red-gate.com/fd/quickstart-command-line-184127576.html (fetched 2026-08-29T08:19:53.764147+00:00, sha 3b4c33b03931)
  - site_page: https://documentation.red-gate.com/fd/quickstart-how-flyway-works-184127223.html (fetched 2026-08-29T08:19:53.765800+00:00, sha 6f3f86a445f8)
  - site_page: https://www.red-gate.com/our-company (fetched 2026-08-29T08:19:53.756716+00:00, sha 9404dc27da37)
- Data as of 2026-08-30T08:39:29.467469+00:00.
