schema_reaper finds schema dead-weight in Rails/ActiveRecord + PostgreSQL apps: dead columns and tables, unused, duplicate and missing foreign-key indexes, and always-NULL or single-value columns. It cross-references the live schema and pg_stats against a static scan of your code, with an optional production runtime signal for higher confidence. Each finding is scored, carries a reclaimable-bytes estimate, and ships with a staged, reversible migration. Reporters for terminal, JSON, Markdown and SARIF; a CI baseline gate; a trend log; a Rails railtie. PostgreSQL only for now; Ruby >= 2.7. See the README for full usage.

Required Ruby Version

>= 2.7.0

Authors

aksshatt, mitkush

Versions

  1. 1.0.12 September 15, 2026 (46 KB)
  2. 1.0.11 September 15, 2026 (45 KB)
  3. 1.0.10 September 15, 2026 (40.5 KB)
  4. 1.0.9 September 09, 2026 (40.5 KB)
  5. 1.0.8 September 08, 2026 (32.5 KB)
Show all versions (12 total)

Pushed by

SHA 256 checksum