Documentation
pgsafe is a static safety linter for PostgreSQL DDL migrations. Start here:
- Getting started — install and lint your first file.
- Usage — the everyday loop: read a finding, apply its fix, gate the rest.
- CI & GitHub Action — fail a PR on an unsafe migration.
- Configuration —
pgsafe.toml, suppressions, selecting files. - Output formats — human, JSON, GitHub annotations, and SARIF.
- Rules reference — every hazard pgsafe checks.