DBLift logo

Developer Tool

DBLift

Plus verified

Flyway-style raw-SQL migrations for Python teams. No JVM, and you see the exact SQL before it runs.

CBy Cyrille MODIANOLaunched Oct 5, 2026 UTC0 comments
Visit DBLiftShare
Compare

Overview

DBLift is an open-source database migration toolkit for Python teams. You write versioned migrations as plain SQL files (or Python for engines like MongoDB), commit them next to your code, and review them in PRs like everything else. DBLift applies them in order and records each one in a history table.

What you get in the free open-source tier

Preview before you apply. dblift migrate --dry-run --show-sql prints the exact statements that will run, so nobody finds out what a migration does in production.
Rollback. Undo files pair with migrations by version (U3__anything.sql reverses V3). dblift undo --target-version=2 rolls back, and --dry-run --show-sql shows the rollback SQL first. Flyway requires a Teams plan for the equivalent undo command. Undo restores structure, not data, so keep your backups.

Start from an existing database. baseline records where your database is today, so you can adopt versioned migrations without recreating its history.

Catch drift. validate flags migrations that were edited after they were applied.

Safe concurrent deploys. DBLift takes a migration lock so two deploys can't run at once.

Fits your pipeline. pip install dblift, then run it in GitHub Actions with dblift/action@v1. No JVM needed.

Who it's for

Python teams that want plain SQL reviewed in PRs, a dry run they can trust, and rollback without paying for it. It works alongside Django and Alembic, so you don't have to replace them.

Learn more

Baseline walkthrough: https://dblift.com/blog/add-migrations-existing-database-baseline/
Undo walkthrough: https://dblift.com/blog/rollback-database-migration-python-undo/

DBLift vs Alembic: https://dblift.com/blog/dblift-vs-alembic/

Who is it for?

Developers, Enterprises, Small Businesses, Indie Hackers, Startups

Problem

Python teams that want to write their migrations in plain SQL end up choosing between a JVM tool like Flyway or a homegrown script that can keep going after a failed file. Neither fits nicely into a pip-based project or a Python CI pipeline.

Solution

DBLift is a pip-installable migration tool. You keep versioned SQL files (or Python migrations for engines like MongoDB), run them from the CLI, a Python API or the GitHub Action, and preview the exact SQL with a dry run before anything touches the database. If a migration fails, DBLift stops with a non-zero exit, so CI catches it. Teams coming from Flyway can import their existing history table and keep their checksums.

What makes it unique

It's Python-native: no JVM, and it installs with pip next to your app. Migrations stay as plain, reviewable SQL instead of ORM-generated code. It imports existing Flyway history, so switching doesn't mean starting over. There's also an MCP server, so AI assistants can inspect migration status or do a dry run. The core is open source; Pro adds SQL review and drift detection.

Screenshots

DBLift screenshot 1
DBLift screenshot 2
DBLift screenshot 3
DBLift screenshot 4
DBLift screenshot 5

Screenshot 1 of 5

FAQ

Is DBLift free?
Yes. The core CLI is open source and installs with pip install dblift. Pro and Enterprise add SQL review, drift detection and team features.
Do I need Java?
No. DBLift is pure Python, so there's no JVM to install in your app or your CI images.
Can I move from Flyway without starting over?
Yes. DBLift imports your existing Flyway history table and keeps the checksums, so already-applied migrations are recognized and only new ones run.
Which databases are supported?
20 engines. The full list is at docs.dblift.com.
How do I run it in CI?
Use the GitHub Action dblift/action@v1 or run the CLI directly. A failed migration exits non-zero, so the pipeline stops.

Alternative To

Discussion

  • No comments yet. Start the discussion!

Sign in to comment.

More Developer Tools products

View all

A personal statement for your disk space. Follow what grows, what changes, and what frees up. Local. Private. Yours.

SemlithPro verified

One index of everything your organisation knows, which every AI agent can reach, with a record of what each one read.

Developer ToolsAAakash Pawar

A curated directory of automation, AI and SaaS tools including n8n workflows, community nodes and hosting. Every listing reviewed by a hum

Developer ToolsSStackLedge

Products similar to DBLift

ManifoldsPlus verified

Manifolds deanonymizes and researches your users at signup, so you can know who your users actually are.

Developer ToolsJJohn Sillings
NotchDodoPro verified

Turn your MacBook notch into a Dynamic Island: fourteen tools, from Now Playing and Pomodoro to a file shelf, calculator and AI Usage for Cl

Developer ToolsAAlmas Malik
Docs MDPlus verified

Paste Markdown, get a rendered share link that expires when you choose. Free Markdown tools plus an MCP server for Cursor and Claude Code.

Developer ToolsAAndrey Andreev

Scan your AI-built app for security risks, reliability issues, and launch blockers before you ship.

Developer ToolsPParth Pathak

Create, customize, and export professional visual assets entirely in your browser. Fast, private, and subscription-free.

Developer ToolsAAbdul Jaber

Alternatives to DBLift

ManifoldsPlus verified

Manifolds deanonymizes and researches your users at signup, so you can know who your users actually are.

Developer ToolsJJohn Sillings
NotchDodoPro verified

Turn your MacBook notch into a Dynamic Island: fourteen tools, from Now Playing and Pomodoro to a file shelf, calculator and AI Usage for Cl

Developer ToolsAAlmas Malik
Docs MDPlus verified

Paste Markdown, get a rendered share link that expires when you choose. Free Markdown tools plus an MCP server for Cursor and Claude Code.

Developer ToolsAAndrey Andreev

Scan your AI-built app for security risks, reliability issues, and launch blockers before you ship.

Developer ToolsPParth Pathak

Create, customize, and export professional visual assets entirely in your browser. Fast, private, and subscription-free.

Developer ToolsAAbdul Jaber