Ridgepole
github.com
Spec sheet
- Purpose
- Ridgepole manages database schemas by defining them with Rails DSL and updating the database to match.Read 4 Oct 2026 · github.com
- Database compatibility detail
- The README advises matching check constraint expressions to the database's exported form to avoid unnecessary migrations.Read 4 Oct 2026 · github.com
- Database support
- The README documents MySQL and PostgreSQL examples and states that SQLite is not supported.Read 4 Oct 2026 · github.com
- Distribution
- Ridgepole is distributed as a Ruby gem and the repository identifies its license as MIT.Read 4 Oct 2026 · github.com
- Dry run
- The --dry-run option previews schema changes before applying them.Read 4 Oct 2026 · github.com
- Installation
- Ridgepole can be added to an application's Gemfile or installed with gem install ridgepole.Read 4 Oct 2026 · github.com
- Partitioning
- The README states that partitioning is no longer supported from Ridgepole v1.1.0.Read 4 Oct 2026 · github.com
- Rails compatibility
- The README says Ridgepole v3.1.0 supports Rails 8.1 and v3.0.0 supports Rails 8.0.Read 4 Oct 2026 · github.com
- Rename behavior
- When renamed_from is used on a table, other changes to that table are not detected in the same migration and must be applied in a separate step.Read 4 Oct 2026 · github.com
- Schema features
- The README demonstrates table and column renames, foreign keys, check constraints, indexes, generated columns, and SQL execution.Read 4 Oct 2026 · github.com
- Schema workflow
- It can export a database schema to a Schemafile, compare schema definitions, and apply changes.Read 4 Oct 2026 · github.com
- Table deletion
- Dropping tables is skipped by default in Ridgepole v1.0 and later; the README says to pass --drop-table to enable it.Read 4 Oct 2026 · github.com
Plans and prices
Ridgepole Free MIT-licensed Ruby gem · SQLite is not supported · table partitioning is not supported Read 4 Oct 2026 · github.com
Where Specifiction places it
- Database Migration Tools#27 of 327.1