MCPcopy Index your code
hub / github.com/flyway/flyway

github.com/flyway/flyway @flyway-12.10.0

repository ↗ · DeepWiki ↗ · release flyway-12.10.0 ↗ · Ask this repo → · + Follow
5,120 symbols 15,698 edges 788 files 969 documented · 19% updated 5d agoflyway-12.10.0 · 2026-06-30★ 9,888220 open issues
README

Flyway by Redgate Build Release Tags Maven Central GitHub license

Database Migrations Made Easy.

Flyway

Evolve your database schema easily and reliably across all your instances.

Simple, focused and powerful.

Works on

Windows, macOS, Linux, Docker and Java

Supported build tools

Maven and Gradle

Supported databases

Supports 50+ DBMS, including: Oracle, SQL Server, MySQL, PostgreSQL, MariaDB, MongoDB, Snowflake, Google BigQuery, Amazon Redshift, Azure Synapse, SAP HANA (including SAP HANA Cloud), SQLite, IBM DB2 LUW, Amazon Aurora MySQL, Amazon Aurora PostgreSQL, Google Cloud Spanner, SingleStoreDB, CockroachDB, TimescaleDB, Babelfish, Cassandra, Couchbase, Fabric data warehouse, Fabric database, Percona XtraDB Cluster and Sybase ASE.

Including Community DB Submissions: ClickHouse, Cubrid, Databricks, IBM DB2 z/OS, DuckDB, Ignite, Iris, Oceanbase, QuestDB, TiDB, Timeplus, YugabyteDB

Third party plugins

SBT, Ant, Spring Boot, Grails, Play!, DropWizard, Grunt, Griffon, Ninja, ...

Documentation

Download

More information about Redgate Flyway

Redgate also develops and maintains editions of Flyway that come with a GUI and additional capabilities if you are looking for more than an open source CLI edition of Flyway. Please note that these editions are not part of the Flyway open source project.

  • Redgate Flyway Community - free database migrations tool maintained by Redgate. Built for individual developers looking for a simple and reliable migrations framework that gives the essentials to manage database changes.

  • Redgate Flyway Enterprise - enterprise-grade database change management solution maintained by Redgate. Designed for enterprises needing a secure and scalable way to manage complex database changes. Built on Redgate’s best-in-class database comparison technology.

About

Flyway is brought to you by Redgate with the help of many contributors.

How to contribute

Please visit our contribution page to find out how you can contribute in various ways to the project.

License

Copyright © Red Gate Software Ltd 2010-2026

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Trademark

Flyway is a registered trademark of Boxfuse GmbH, owned by Red Gate Software Ltd.

Extension points exported contracts — how you extend this code

DatabaseExecutionStrategy (Interface)
Defines a strategy for executing a SqlCallable against a particular database. [24 implementers]
flyway-core/src/main/java/org/flywaydb/core/internal/database/DatabaseExecutionStrategy.java
ConfigurationManager (Interface)
(no doc) [12 implementers]
flyway-commandline/src/main/java/org/flywaydb/commandline/configuration/ConfigurationManager.java
McpConfigurationLoader (Interface)
Provides a way to load flyway configuration for use with tools within an MCP server. This is an experimental API and may [2 …
flyway-command/flyway-command-mcp/src/main/java/org/flywaydb/mcp/McpConfigurationLoader.java
NativeConnectorsDatabasePluginResolver (Interface)
(no doc) [2 implementers]
flyway-nc/flyway-nc-core/src/main/java/org/flywaydb/nc/NativeConnectorsDatabasePluginResolver.java
HtmlRenderer (Interface)
(no doc) [2 implementers]
flyway-reports/src/main/java/org/flywaydb/reports/api/extensibility/HtmlRenderer.java
SqlScriptExecutor (Interface)
Executor for SQL scripts. [23 implementers]
flyway-core/src/main/java/org/flywaydb/core/internal/sqlscript/SqlScriptExecutor.java
HtmlResultDeserializer (Interface)
(no doc) [2 implementers]
flyway-reports/src/main/java/org/flywaydb/reports/json/HtmlResultDeserializer.java
ClassPathLocationScanner (Interface)
Scans for classpath resources in this location. [9 implementers]
flyway-core/src/main/java/org/flywaydb/core/internal/scanner/classpath/ClassPathLocationScanner.java

Core symbols most depended-on inside this repo

append
called by 385
flyway-command/flyway-command-mcp/src/main/java/org/flywaydb/mcp/McpServerFileLog.java
stream
called by 375
flyway-core/src/main/java/org/flywaydb/core/api/configuration/FluentConfiguration.java
quote
called by 356
flyway-core/src/main/java/org/flywaydb/core/internal/nc/NativeConnectorsDatabase.java
equals
called by 292
flyway-core/src/main/java/org/flywaydb/core/internal/util/Pair.java
execute
called by 254
flyway-core/src/main/java/org/flywaydb/core/FlywayExecutor.java
filter
called by 247
flyway-core/src/main/java/org/flywaydb/core/internal/configuration/resolvers/PropertyResolverContextImpl.java
getVersion
called by 223
flyway-core/src/main/java/org/flywaydb/core/api/MigrationInfo.java
getName
called by 181
flyway-core/src/main/java/org/flywaydb/core/extensibility/Plugin.java

Shape

Method 4,310
Class 625
Interface 108
Function 41
Enum 36

Languages

Java99%
Python1%

Modules by API surface

flyway-core/src/main/java/org/flywaydb/core/api/configuration/ClassicConfiguration.java172 symbols
flyway-core/src/main/java/org/flywaydb/core/api/configuration/Configuration.java76 symbols
flyway-core/src/main/java/org/flywaydb/core/api/configuration/FluentConfiguration.java71 symbols
flyway-core/src/main/java/org/flywaydb/core/internal/parser/Parser.java56 symbols
flyway-core/src/main/java/org/flywaydb/core/internal/database/base/Database.java54 symbols
flyway-commandline/src/main/java/org/flywaydb/commandline/configuration/CommandLineArguments.java54 symbols
flyway-core/src/main/java/org/flywaydb/core/internal/nc/NativeConnectorsDatabase.java45 symbols
flyway-core/src/main/java/org/flywaydb/core/internal/configuration/ConfigUtils.java40 symbols
flyway-database/flyway-sqlserver/src/main/java/org/flywaydb/database/sqlserver/SQLServerDatabase.java38 symbols
flyway-database/flyway-database-nc-mongodb/src/main/java/org/flywaydb/database/nc/mongodb/MongoDBDatabase.java37 symbols
flyway-database/flyway-sqlserver/src/main/java/org/flywaydb/database/sqlserver/SQLServerSchema.java34 symbols
flyway-database/flyway-database-nc-couchbase/src/main/java/org/flywaydb/database/nc/couchbase/CouchbaseDatabase.java33 symbols

Dependencies from manifests, versioned

${project.groupId}:flyway-command-mcp
${project.groupId}:flyway-command-test-connection
${project.groupId}:flyway-core
${project.groupId}:flyway-database-cassandra
${project.groupId}:flyway-database-databricks
${project.groupId}:flyway-database-db2
${project.groupId}:flyway-database-derby
${project.groupId}:flyway-database-hsqldb
${project.groupId}:flyway-database-informix
${project.groupId}:flyway-database-nc-cassandra
${project.groupId}:flyway-database-nc-couchbase
${project.groupId}:flyway-database-nc-mongodb

Datastores touched

(mysql)Database · 1 repos
(mongodb)Database · 1 repos
my_databaseDatabase · 1 repos
mysqlDatabase · 1 repos
my_databaseDatabase · 1 repos
postgresDatabase · 1 repos
mydbDatabase · 1 repos
source_dbDatabase · 1 repos

For agents

$ claude mcp add flyway \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact