db-generate

Generate Database Migrations

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "db-generate" with this command: npx skills add medusajs/medusa-agent-skills/medusajs-medusa-agent-skills-db-generate

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 <module-name> , replacing <module-name> with the provided argument.

Report the results to the user, including:

  • The module name for which migrations were generated

  • Migration file name or location

  • Any errors or warnings

  • Next steps (running npx medusa db:migrate to apply the migrations)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

building-with-medusa

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

building-admin-dashboard-customizations

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

storefront-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

building-storefronts

No summary provided by upstream source.

Repository SourceNeeds Review