Productivity

db-generate

medusajs/medusa-agent-skills · updated Apr 8, 2026

$npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-generate
summary

Generate database migrations for Medusa modules with a single command.

  • Wraps the npx medusa db:generate CLI command to create migration files for specified Medusa modules
  • Accepts module name as an argument and reports migration file location, errors, and next steps
  • Automatically suggests running npx medusa db:migrate after generation to apply migrations
skill.md

db-generate

No content available.