flvmnt/pgfence
Postgres migration safety CLI: lock mode analysis, risk scoring, and safe rewrite recipes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path or glob to SQL migration files | yes | migrations/*.sql |
| format | Migration format (auto, sql, typeorm, prisma, knex, drizzle, sequelize) | no | auto |
| max-risk | Maximum permitted risk level (safe, low, medium, high, critical) | no | medium |
| db-url | Database URL for reading pg_stat_user_tables (size-aware risk scoring) | no | — |
| stats-file | Path to db stats JSON file (alternative to db-url) | no | — |
Outputs
no outputs