Skip to content

MigraDiff

Relational Databases
Python Latest v1.7.2 · 1mo ago Security brief →

Features

  • Compares two PostgreSQL schemas and generates the migration SQL needed to transform one into the other
  • Supports diffing live connections, schema dump files, or a directory of migration scripts
  • Provides JSON output with per‑statement risk classification for CI integration
  • Offers AI‑powered plain‑English explanations of migrations (optional)
  • Can generate rollback SQL and analyze schema drift between environments

Recent releases

View all 8 releases →
No immediate action
v1.5.0 Breaking risk

COMMENT ON diffing + AI integration

No immediate action
v1.4.0 New feature

AI flags: explain, rollback, advise, generate

No immediate action
v1.3.0 Mixed

AI explanations + folder diff + naming

No immediate action
v1.2.0 Breaking risk

--safe mode enabled

No immediate action
v1.1.0 New feature

JSON output + risk classification

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
93
Forks
1
Languages
Python PLpgSQL PowerShell

Install & Platforms

Install via
pip

Alternative to

djrobstep/migra

Beta — feedback welcome: [email protected]