# djrobstep/migra

DEPRECATED: Like diff but for PostgreSQL schemas

Repository: https://github.com/djrobstep/migra
Canonical: https://ross.abutalabs.com/products/migra
Language: Python
License: Unlicense
License Family: permissive
Topics: developer-tools, developer-experience, postgresql, schema-changes, schema-migrations, python
Last push: 2025-08-25T12:32:22+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 38, release rhythm 35, longevity 100
- inputs: {"age_days": 3691, "days_push": 373, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3050, forks 143 (observed 2026-08-28T04:07:39.613322+00:00)

## What it is
Migra is a schema diff tool for PostgreSQL, written in Python, that compares two database schemas and autogenerates the SQL migration statements needed to get from one to the other. The project is officially deprecated; its functionality continues in the successor project 'results'.

## Use cases
- diff two postgresql schemas
- autogenerate sql migration scripts from schema changes
- sync development database schema with application models
- make database schema changes testable and automatic

## When to choose
- you need a schema diff for PostgreSQL and are okay using an unmaintained tool
- you want to explore its approach before trying the successor project

## When to avoid
- you need maintained software with ongoing bug fixes and releases
- you use databases other than PostgreSQL
- you want long-term support - use the successor project 'results' instead

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: database, developer-tools, cli
- domain: databases, developer-tools
- platform: python, cli, windows
- tags: postgresql, schema-diff, schema-migrations, deprecated, database-migrations, linux, macos

## Member repositories
- djrobstep/migra (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.613322+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:46:50.070275+00:00, confidence not recorded.
  - readme: https://github.com/djrobstep/migra (fetched 2026-08-28T04:07:39.613322+00:00, sha 16b7f3c5f8ba)
  - registry_pypi: https://pypi.org/pypi/migra/json (fetched 2026-08-29T09:44:00.707959+00:00, sha 25abf0cb9c1b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
