Skip to content

Database migrations vs Sqldef on rails

Database migrations is an open-source agent skill for databases. Sqldef on rails is an open-source agent skill for databases. The table puts their facts side by side; each name links to its full write-up.

  • Sqldef on rails has more GitHub stars (31 vs 8).
  • Database migrations is best for add a column to a large postgres table without locking writes.
  • Sqldef on rails is best for replace activerecord migrations with declarative sql schema files in a rails app.
In short
Guides agents through safe Postgres schema changes, backfills and sqlc regeneration
Guides a Rails app to manage its PostgreSQL schema as SQL files with psqldef
Kind
Skill
Skill
Pricing
Open source
Open source
Platforms
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
Claude Code
GitHub stars
8
31
Last commit
Dec 2026
Nov 2026
License
MIT
MIT
Open source

Full write-ups

Database migrations vs Sqldef on rails: questions

Is Database migrations or Sqldef on rails cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Database migrations and Sqldef on rails?

Database migrations is an open-source agent skill for databases. Sqldef on rails is an open-source agent skill for databases. Sqldef on rails has more GitHub stars (31 vs 8).

Keep comparing