
db-migrate
β 195by medusajs Β· part of medusajs/medusa-agent-skills
Run database migrations in Medusa
π₯π₯π₯β VerifiedFreeQuick setup
π§© One of 7 skills in the medusajs/medusa-agent-skills package β works on its own, and pairs well with its siblings.
This is the playbook your agent receives when the skill activates β you don't need to read it to use the skill, but it's here to audit before installing.
name: db-migrate description: Run database migrations in Medusa allowed-tools: Bash(npx medusa db:migrate:*)
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
Copy & paste β that's it
npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-migrateRun this in your project β your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.