DB Migrate

Run database migrations in Medusa

gabrielmoreira Updated 17 repo stars

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

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/medusajs@medusa-agent-skills/plugins/medusa-dev/skills/db-migrate commit 8c489f78fc

Frequently asked questions

npx skillmds@latest add gabrielmoreira/db-migrate