DB Migrate

Run database migrations in Medusa

medusajs Updated

File contents

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

medusajs/medusa-agent-skills commit 8c489f78fc

Frequently asked questions

npx get-skill add medusajs/db-migrate