Original skill document
Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.
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
