db-migrate

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

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
执行Medusa数据库迁移命令以应用待处理的迁移。
使用Bash工具执行:
npx medusa db:migrate
向用户报告迁移结果,包括:
  • 已应用的迁移数量
  • 发生的任何错误
  • 成功确认