Labsco
medusajs logo

db-migrate

β˜… 195

by 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