Skip to content

Releases: technical-turtle/pg-migration-guard

pg-migration-guard v1.0.0

Choose a tag to compare

@alagiz alagiz released this 22 Jul 13:35

First release. A free static safety checker for Postgres SQL migrations (Flyway or raw SQL). Catches 10 common hazards (12 rules): non-concurrent and in-transaction index builds, volatile-default and type-change table rewrites, whole-table SET NOT NULL / ADD CHECK / ADD FK / ADD PK validations, backfill ordering and unbatched backfills, missing lock_timeout, and destructive ops. Each finding prints the reason, an official Postgres citation, and the safe rewrite. Ships as a CLI and a GitHub Action. MIT, no third-party Python dependencies.