db-migrate
द्वारा medusajs
लंबित Medusa डेटाबेस माइग्रेशन निष्पादित करें और परिणाम रिपोर्ट करें। आपके Medusa डेटाबेस पर सभी लंबित माइग्रेशन लागू करने के लिए Bash के माध्यम से npx medusa db:migrate चलाता है। लागू किए गए माइग्रेशन की संख्या, सामने आई किसी भी त्रुटि और सफलता की पुष्टि सहित माइग्रेशन परिणाम रिपोर्ट करता है। मानक npm/npx सेटअप वाले Medusa प्रोजेक्ट्स के लिए डिज़ाइन किया गया है।
npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-migrateRun 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