






















pip install --upgrade migradiff
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]
migra --setup-ai
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.
Diff a directory of numbered migration files against a base
schema without requiring a live branch database.
migra --from-migrations-dir ./supabase/migrations \
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).
migra for backwardmigradiffFull changelog: https://github.com/migradiff/migra/blob/main/CHANGELOG.md
pip install --upgrade migradiff
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。