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.