mcpField
D
db-migrate

db-migrate

github.com/medusajsData & databases2343.4k installsUpdated 1w ago
Repository

About db-migrate

A skill for Medusa developers that applies pending database migrations by running the specified command. It reports the migration count, any errors, and whether the operation succeeded.

Key features

  1. 01Run the Medusa migration command
  2. 02Report the number of applied migrations
  3. 03Report errors and success status

Use cases

  1. 01Apply pending migrations before deployment
  2. 02Review migration results

Install

Copy the command and run it in a terminal.

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

After installing, type/db-migratein Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported