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 regenerationGuides a Rails app to manage its PostgreSQL schema as SQL files with psqldef
- Kind
- SkillSkill
- Pricing
- Open sourceOpen source
- Platforms
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, GooseClaude Code
- GitHub stars
- 831
- Last commit
- Dec 2026Nov 2026
- License
- MITMIT
- 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).

