Skip to content

MigraDiff

Relational Databases

A PostgreSQL schema diff tool that generates migration SQL to transform one database schema into another.

Python Latest v1.5.0 · 1d ago Security brief →

Features

  • Compares two PostgreSQL schemas and outputs the needed ALTER/DROP/CREATE statements
  • Supports live connections, pg_dump schema dumps, and directory‑based migrations
  • Provides JSON output with per‑statement risk classification (safe/warning/destructive)
  • Offers AI‑powered explanations, rollback generation, and performance advice (optional extras)

Recent releases

View all 5 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
10
Forks
0
Languages
Python PLpgSQL Shell

Install & Platforms

Install via
pip

Similar tools

Alternative to

djrobstep/migra

Beta — feedback welcome: [email protected]