DB Migrate

Run database migrations in Medusa

medusajs 8c489f7 366 B 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/tree/main/plugins/medusa-dev/skills/db-migrate commit 8c489f78fc

Frequently asked questions

npx skillmds@latest add medusajs/db-migrate