Back to browse
dbconform – stateless schema drift repair, no migration history

dbconform – stateless schema drift repair, no migration history

by Datahenge·Jun 16, 2026·3 points·0 comments

AI Analysis

●●SolidSolve My ProblemBig Brain

Fixes schema drift without migration history where Alembic leaves you stranded.

Strengths
  • No migration files or history table required — just compare models to live database.
  • Safe defaults prevent accidental drops while still altering existing tables.
  • Pure Python library called from application code, no CLI or infrastructure needed.
Weaknesses
  • PostgreSQL and SQLite only; MariaDB support remains future roadmap item.
  • Doesn't replace Alembic for disciplined greenfield projects with clean history.
Target Audience

Python developers managing databases with broken or missing migration history

Similar To

Alembic · Atlas · SQLAlchemy

Post Description

No Alembic. No migration files. No history table. dbconform compares your declared schema against your live database and generates the SQL to close the gap: nothing more.

If you've ever worked on a database where the migration history is incomplete, wrong, or simply doesn't exist, this is for you.

Supports PostgreSQL and SQLite. Safe defaults. Run compare() to view differences, or apply() to fix the target database.

PyPI: https://pypi.org/project/dbconform Source: https://github.com/brian-pond/dbconform

Similar Projects