OSS Tanbou

Flyway — manage database schema changes as versioned migration code

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
10,100
Primary language
Java
License
Apache-2.0
Repository last updated
Sep 15, 2026

Overview

Flyway applies versioned migration files such as `V1__create_table.sql` in order and records database schema history. It can run from its CLI, Java, Maven, and Gradle and supports a broad range of database platforms.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Order and track versioned and repeatable migrations

Flyway discovers unapplied migration scripts by version and naming convention, applies them in sequence, and records state in its schema-history table.

Sources: [2][4]

Integrate schema changes into builds and CI/CD

CLI, Maven, Gradle, and Java integration allow schema migrations to be part of application release pipelines.

Sources: [2][4]

For treating database changes as release artifacts instead of manual steps

Flyway fits teams that need consistent migration ordering across environments and an auditable record of applied schema versions.

Sources: [2][4]

Distinguish Flyway OSS from Redgate commercial editions

The README states that the Apache-2.0 OSS CLI project is separate from Redgate editions that provide GUI and additional capabilities. Confirm edition boundaries for required features.

Sources: [2][3]

Official sources

  1. [1]flyway/flyway repository(2026-09-20)
  2. [2]Flyway README(2026-09-20)
  3. [3]Flyway Apache-2.0 license(2026-09-20)
  4. [4]Flyway documentation(2026-09-20)
Supplemental curator note

Flyway is useful when database schema changes should move through the same release flow as application code, with migration files and schema history recording applied versions. The README explicitly separates the open-source CLI project from Redgate commercial editions with GUI and additional capabilities.

Try it in 3 steps

  1. 1

    Install the Flyway OSS CLI

    Install the Apache-2.0 Flyway OSS CLI rather than a Redgate commercial edition.

    https://documentation.red-gate.com/flyway/reference/usage/flyway-open-source
  2. 2

    Create the first migration file

    Create a version 1 schema migration using the Flyway naming convention.

    mkdir -p sql && printf 'CREATE TABLE demo (id INT PRIMARY KEY, name VARCHAR(100));\n' > sql/V1__create_demo.sql
  3. 3

    Migrate a local H2 file database

    Use the H2 driver shipped with the CLI to apply the migration and inspect Flyway schema history locally.

    flyway -url=jdbc:h2:file:./flyway-demo -user=sa -locations=filesystem:sql migrate && flyway -url=jdbc:h2:file:./flyway-demo -user=sa -locations=filesystem:sql info
Check the official README

Growth

Growth trends · Last 30 days

10,100 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
4
Open PRs
38
Issues opened
18
Issues closed
22
PRs opened
15
PRs merged
0

Issues

18 / 22

Jun 23Sep 20
Issues openedIssues closed

Pull requests

15 / 0

Jun 23Sep 20
PRs openedPRs merged

Maintenance

Median first response
Not specified
Issue response rate
0% (0/18)

Based on up to the 100 newest issues opened by external users in the last 90 days. A first comment from an OWNER, MEMBER, or COLLABORATOR counts as a response; issues whose full comment history cannot be checked are excluded. The median and response rate update weekly.

Built with

Categories and tags

Categories

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • flyway
  • java
  • database-migrations
  • java-library
  • continuous-delivery
  • devops
  • sql
  • continuous-deployment
  • database
  • database-deployment
  • database-administration
  • database-management
Stars
10,100
Forks
1,632
Watchers
173
Open issues
220
Contributors
121
Primary language
Java
License
Apache-2.0
Repository last updated
Sep 15, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.