jalkoby/squasher
Squasher - squash your old migrations in a single command observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4609
- days_rel: n/a
- days_push: 625
- n_releases_24m: 0
Adoption not part of the score
1539 stars · 58 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Squasher is a Ruby command-line gem that compresses old ActiveRecord migrations into a single migration reflecting the final database state as of a given date. It reduces migration file clutter so that running db:migrate or bootstrapping a fresh database is fast in large Rails projects.
Use cases
- squash old rails migrations into one file
- speed up db:migrate on a large rails project
- clean up years of accumulated migration files
- make creating a new database faster
- compress migrations prior to a specific date
- generate a schema-like migration from existing migrations
When to choose
- you maintain a long-lived Rails or ActiveRecord app with hundreds of migrations
- you want a one-command way to archive migration history
- you need faster fresh database setup for CI or onboarding
When to avoid
- your project has few migrations and migrate is already fast
- you rely on data inserted by old migrations, since squashed migrations drop inserted records
- you are not using ActiveRecord migrations
Facets
cli-tool · maturity active
database developer-tools cli databases developer-tools web-development cli ruby activerecord rails migrations schema ruby-gem
1 source
- readme: https://github.com/jalkoby/squasher · fetched 2026-08-28 · ae2e226ea627
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jalkoby/squasher | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="jalkoby/squasher")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem