Show HN: MigraDiff v1.3.0 – PostgreSQL schema diff with AI migration explanation

lateos-ai1 pts0 comments

Release v1.3.0 — AI-Powered Migration Explanation & Migrations Folder Support · migradiff/migra · GitHub

//releases/show" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

//releases/show;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

migradiff

migra

Public

forked from djrobstep/migra

Notifications<br>You must be signed in to change notification settings

Fork

Star

v1.3.0 — AI-Powered Migration Explanation & Migrations Folder Support

Latest

Marketplace

Latest

Marketplace

Compare

Choose a tag to compare

Sorry, something went wrong.

Filter

Loading

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

No results found

View all tags

leochong

released this

30 May 15:28

&middot;

3 commits

to main<br>since this release

v1.3.0

c4e4ac0

Install

pip install --upgrade migradiff

What's New

AI-Powered Migration Explanation (--explain)

MigraDiff can now explain any migration in plain English — what

each change does, what risks it carries, and safer alternatives

for destructive operations.

pip install migradiff[ai]<br>migra --setup-ai<br>migra --explain postgres://db_a postgres://db_b

Powered by Claude Haiku (Anthropic). Bring your own API key —

no data is sent to MigraDiff servers. Works with --output json,

--from-file, --from-migrations-dir, and all existing flags.

Migrations Folder Input Mode (--from-migrations-dir)

Diff a directory of numbered migration files against a base

schema without requiring a live branch database.

migra --from-migrations-dir ./supabase/migrations \<br>postgres://db_production

Supports Supabase timestamp format, Flyway versioned format,

and standard numeric prefixes. Files applied in correct numeric

sort order (9 before 10, not lexicographic).

Also in this release

Naming clarification in README — CLI stays migra for backward

compatibility, package is migradiff

Full changelog: https://github.com/migradiff/migra/blob/main/CHANGELOG.md

Upgrading

pip install --upgrade migradiff

Assets

Loading

Uh oh!

There was an error while loading. Please reload this page.

-->

All reactions

You can’t perform that action at this time.

migradiff migra migrations migration search reload

Related Articles