A custom Contact Form 7 reporting store often begins with a small inquiry table. Later it needs a delivery-status column, a separate destination receipt and a new index for the weekly report. Editing those structures manually makes it hard to explain which environment has which definition. A migration tool records ordered schema changes, but the right choice depends on the database, application runtime and review process.

This comparison covers Alembic, Flyway, Liquibase, golang-migrate and Phinx for a database or schema your reporting application owns. It is not an instruction to run a migration engine over WordPress core tables or another plugin’s schema. None of these tools is a native CF7 connector, and none proves that an inquiry reached an inbox or CRM.
Compare the workflow you need to maintain
| Tool | Useful starting fit | Main review point | Core licensing or cost |
|---|---|---|---|
| Alembic | Python and SQLAlchemy reporting services | Review generated revisions, especially renames | MIT; no core license fee |
| Flyway | Teams maintaining ordered SQL migrations | Check exact distribution and edition features | Apache-2.0 source core; commercial editions separate |
| Liquibase | Teams standardizing structured change logs | Check release license and Community versus Secure | Current Community FSL-1.1-ALv2; Secure commercial |
| golang-migrate | Go services or a focused migration CLI | Own SQL, version order and dirty-state recovery | MIT; no core license fee |
| Phinx | PHP applications using Composer | Distinguish reversible operations from custom data changes | MIT; no core license fee |
This is a documentation-based comparison reviewed November 21, 2026. It includes no comparative speed tests or hands-on certification. Core license cost is only one part of the budget: deployment ownership, database support, downtime planning and recovery work still matter. Check the exact selected release and dependencies before adoption rather than treating a project name as a permanent license promise.
Alembic
Alembic fits a reporting service already using Python and SQLAlchemy. Revisions express an ordered history with upgrade and downgrade behavior. Its autogenerate workflow compares model metadata with a database and produces candidate changes, which can reduce the mechanical work of describing a new column or index. The core license is MIT.
Strength: the revision lives close to the application’s data model and can be reviewed with the code that starts using it. For a CF7 delivery ledger, reviewers can examine the new receipt field and the migration together. Limitation: autogeneration has documented detection limits. A rename can appear as separate add and drop operations. Generated output must be corrected before it touches retained inquiry data.
Choose Alembic when a Python owner can explain the revision graph and affected SQL. Ask that owner to demonstrate a fresh database and an upgrade from the prior supported revision using synthetic records. Do not equate a generated downgrade function with a tested way to recover values lost by a destructive operation.
Flyway
Flyway is a natural candidate when reviewed SQL files are the team’s preferred unit of database change. It records migration history and supports a repeatable process for applying pending changes. That can suit a separate lead-reporting database used by services written in more than one language. The repository’s source-core license is Apache 2.0.
Strength: SQL makes database-specific changes visible to the people who operate that engine. Limitation: source licensing does not mean every feature in Redgate’s distributions or commercial editions is included. The current product page distinguishes Community and Enterprise offerings. Review the edition and supported database capabilities needed for your deployment; obtain a current commercial quote where applicable.
For a CF7 report service, start with a small additive migration and an explicit application compatibility plan. Keep already applied migrations immutable within your process so the history remains understandable. Before choosing a paid feature for rollback or comparison, verify its entitlement and the database-specific behavior in the selected distribution.
Liquibase
Liquibase Community supports change logs in formats including SQL, XML, JSON and YAML. It suits teams that want a consistent description of database changes across an estate. A custom lead-reporting application might use that structure to make the addition of a status column and its related constraints explicit within an established database release process.
Strength: a shared change-log convention can make review and operational handoff easier when several teams contribute. Limitation: current Community licensing must not be described using an older Apache-only assumption. The current license file identifies FSL-1.1-ALv2. The Community 5.0 FAQ distinguishes that license from Liquibase Secure’s commercial EULA.
The licensing announcement explains continued free ordinary application use and the restrictions on competing uses, with a future Apache transition for applicable versions. Read the actual terms for your intended distribution. Choose Liquibase when that governance model fits the team, and verify any Secure-only feature separately. A change log still needs a real data-retention and compatibility review.
golang-migrate
golang-migrate provides a command-line tool and Go library for database migrations. Its getting-started guide uses paired forward and reverse migration files. This is a focused option for a Go lead-processing service or a team that prefers to manage SQL directly without introducing a larger model framework. The license is MIT.
Strength: the workflow can remain close to a small application’s existing release tooling. Limitation: the team owns the SQL and the operational response to interrupted or failed migrations. Version ordering matters when two developers create independent changes. A dirty migration state should trigger diagnosis, not an automatic command that merely marks the database clean without reconciling its structure.
Choose it when someone can maintain the selected database driver, migration source and execution environment. For an inquiry ledger, review how an application instance behaves while the schema is being extended. Keep data backfills distinct from the basic structure change when they need different runtime or retry behavior.
Phinx
Phinx brings database migration management to PHP applications through Composer without requiring a full application framework. Its migration documentation describes table and column operations as well as explicit migration methods. The core license is MIT. Check the selected release’s PHP and database requirements.
Strength: a PHP team can review a separate connector’s schema history in a familiar language. Limitation: automatic reversibility applies to supported operations, not every arbitrary SQL statement or data transformation. Code that deletes a column’s values cannot promise to recover them simply because the migration framework offers a rollback command.
Choose Phinx when the PHP reporting application has its own clear schema boundary and owner. Keep migration configuration separate from the site’s public files, and verify the intended environment before execution. Existing WordPress and plugin database lifecycle mechanisms remain their own responsibility. Sharing a server does not make every table part of the connector’s migration scope.
Make the decision with one representative change
Evaluate the same additive change with each serious candidate: add a nullable delivery-receipt reference, retain existing inquiries, and deploy a reader that tolerates older rows. Review the produced change, execution history and failure explanation. Ask whether a colleague can identify the current revision without inspecting every table manually. Keep synthetic fixtures and the review evidence alongside the project workflow.
For Python and SQLAlchemy, begin with Alembic. For reviewed SQL across runtimes, consider Flyway or golang-migrate. For established structured database governance, assess Liquibase’s current distribution and terms. For a standalone PHP service, consider Phinx. The useful outcome is a maintainable revision process that preserves reporting meaning as the schema evolves.
Our reporting database comparison addresses engine selection, while the payload migration guide covers the connector contract. If you need submission statistics inside WordPress without building a custom store, review our free Svetlik Analytics for Contact Form 7 plugin. That is a separate scope from managing an application’s reporting schema.
Sources and review scope
The linked project documentation, repositories and license files are the primary sources for this comparison. Recommendations are editorial judgments about workflow fit. No live database migration, WordPress schema modification or product benchmark was performed for this article.
