See what will run. Prove it is safe. Keep the evidence.
Open-source database migration tool for Python
DBLift is an open-source, Apache 2.0 database migration tool for Python teams: Flyway-style raw-SQL migrations for Python teams, installed with pip, no JVM. Write versioned SQL or Python migration files and see every statement before it runs: dblift migrate --dry-run --show-sql prints the exact SQL and applies nothing.
The open core applies migrations under a lock and records each version in a schema history table, shows applied, pending and reversible migrations with dblift info, validates history against the repository, and rolls back with undo files you wrote yourself. Baseline an existing database or import a Flyway history. Twenty engines share one CLI, from PostgreSQL, MySQL and SQL Server to DuckDB, MongoDB and the PostgreSQL-compatible clouds, plus a Python API, pytest-dblift, a GitHub Action and an MCP server for AI coding agents.
validate-sql is one command. The open-source package runs 17 migration-safety rules in console or JSON. Pro keeps that command and adds a rules file, the security and schema packs, a performance analyser, and CI formats, plus schema comparison and audited data fixes. Enterprise keeps those and adds named profiles, the best_practices, performance and naming packs, and individual rule IDs, plus offline plans, preflight rehearsal and retained release evidence. Pricing, documentation, blog, privacy policy and contact details are published on dblift.com.