# Backend Migrations

> Create and manage database migrations with reversible changes, proper naming conventions, and zero-downtime deployment considerations. Use this skill when creating new database migrations, modifying schema changes, adding or removing tables/columns, creating indexes, or managing data migrations. When working on files in migrations/, db/migrate/, alembic/, or prisma/migrations/ directories. When writing up/down migration methods, planning schema changes for production deployments, or reviewing migration files for safety and rollback capability.

- Skill: `majiayu000/backend-migrations-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/backend-migrations-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/backend-migrations-4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/backend-migrations-4

---


## When to use this skill:

- When creating new database migration files
- When modifying existing migrations before deployment
- When adding, altering, or dropping database tables or columns
- When creating or removing database indexes
- When working on files in migrations/, db/migrate/, alembic/, or prisma/migrations/ directories
- When writing rollback/down methods for migrations
- When planning schema changes that need to be backwards compatible
- When separating schema changes from data migrations
- When creating indexes on large tables with concurrent options
- When naming migration files descriptively
- When reviewing migrations for zero-downtime deployment safety

# Backend Migrations

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend migrations.

## Instructions

For details, refer to the information provided in this file:
[backend migrations](../../../agent-os/standards/backend/migrations.md)

