Skip to content

django-migraid

Detect, diagnose, and auto-fix Django migration problems in Git workflows.

Quick Start

pip install django-migraid

Add "migraid" to INSTALLED_APPS, then:

python manage.py migraid doctor

Why django-migraid?

When developers work in parallel on Django projects, migration conflicts are inevitable. django-migraid gives you a single toolkit that:

  • Diagnoses every known migration issue class
  • Previews exactly what it will change before touching a file
  • Auto-fixes the safe cases (renumbering, conflict linearization)
  • Protects you from common footguns (rewriting applied migrations, operating on non-local DBs)

See Known Issues for the full catalog.