Methodologygeneric
db-migrate
Run database migrations in Medusa
medusajs/medusa-agent-skills
Install
Use with your agent
Install the db-migrate skill, then use it as build context. Run: npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-migrate. Then read the installed skill.md and follow its guidance to build or refactor my project.
Run Database Migrations
Execute the Medusa database migration command to apply pending migrations.
Use the Bash tool to execute: npx medusa db:migrate
Report the migration results to the user, including:
- Number of migrations applied
- Any errors that occurred
- Success confirmation