Generate Database Migrations
Generate database migrations for the specified Medusa module.
The user will provide the module name as an argument (e.g.,
brand
,
product
,
custom-module
).
For example:
/medusa-dev:db-generate brand
Use the Bash tool to execute the command
npx medusa db:generate
db-generate
安装
npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-generate