πŸ—„οΈ
DevOpsJavaScript

Database Migrations

by medusajs

Database Migrations is a DevOps skill for Claude Code, published by medusajs in medusa-agent-skills.

212 stars26 forkson medusajs/medusa-agent-skillsAdded 2026/09/04Repository updated 2026/08/14
agentic-commerceclaudeclaude-codecommerceecommercemedusa
Install in seconds
Install Database Migrations
Copy Database Migrations into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-migrate ~/.claude/skills/db-migrate

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/medusajs/medusa-agent-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
plugins/medusa-dev/skills/db-migrate/SKILL.md in medusajs/medusa-agent-skills
Installs to
~/.claude/skills/db-migrate
Collection
One of 18 skills cataloged from this repository
Category
DevOps β€” 920 skills

What Database Migrations does

Database Migrations runs Medusa's database migration command to apply pending schema changes. Use it when a Medusa project needs to update its database before continuing development or deployment.

Database Migrations is cataloged under DevOps on DirSkills. Database Migrations comes from a repository tagged agentic-commerce, claude, claude-code, commerce and ecommerce.

Documentation

README

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

Frequently asked about Database Migrations

  • What else does medusajs publish alongside Database Migrations?

    Database Migrations is one of 18 skills that DirSkills catalogs from medusajs/medusa-agent-skills, the repository it ships in. Its siblings there include Building Storefronts, Building With Medusa and Cloud Logs. Each one is a separate skill with its own page in this directory, installs the same way Database Migrations does, and is maintained by medusajs in that same repository. The rest of the collection is listed on the medusajs/medusa-agent-skills page.

  • How does Database Migrations compare to other DevOps skills?

    Database Migrations ranks #828 by stars among the 920 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Database Migrations against them. Open each page to compare what they document and how they install.

More from medusajs/medusa-agent-skills

Database Migrations is one of 18 skills cataloged on DirSkills from medusajs/medusa-agent-skills.

See all 18 skills β†’
πŸ›οΈ
2h ago

Building Storefronts

Building Storefronts covers Medusa storefront integration for SDK calls, custom API routes, and React Query data fetching. Use it when planning or implementing storefront features, mutations, cache invalidation, and error handling.
Frontend
21226
πŸ› οΈ
2h ago

Building With Medusa

Building With Medusa guides Medusa backend work for custom modules, workflows, API routes, links, and business logic. Use it when planning or implementing backend features that need Medusa-specific architecture and rules.
AI Engineering
21226
πŸ“œ
2h ago

Cloud Logs

Cloud Logs executes mcloud logs to fetch and stream runtime logs from backend or storefront environments. Use it to search errors, filter by time range, or scope results to a deployment.
DevOps
21226
☁️
2h ago

Cloud Organizations

Cloud Organizations executes mcloud commands to list organizations and retrieve organization details. Use it to find organization IDs, inspect members, or check subscription data.
Automation
21226
πŸ€–
2h ago

Creating Agents In Medusa

Creating Agents In Medusa covers the full stack for internal, admin-facing AI agents in a Medusa project. Use it for merchant- or operator-operated assistants with MedusaExec, streaming API routes, and admin chat UI extensions.
AI Engineering
21226
πŸ—„οΈ
2h ago

Database Migrations Generator

Database Migrations Generator runs Medusa’s migration command for a specified module and reports the generated files or any errors. Use it when you need to create database migrations before applying them.
DevOps
21226