# Backend Migrations

> Create and manage database migrations with proper rollback methods, focused changes, and zero-downtime deployment considerations. Use this skill when creating new database migration files, modifying table schemas, adding or removing columns, creating or dropping indexes, or managing database version control. When working with migration directories, schema definition files, or database change scripts. When implementing backwards-compatible database changes for production deployments. When separating schema changes from data migrations. Use when this capability is needed.

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

---


# 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.

## When to use this skill

- When creating new database migration files
- When modifying existing table schemas (adding/removing columns, changing types)
- When adding or removing database indexes
- When creating or modifying foreign key constraints
- When implementing database schema versioning
- When working with migration directories (e.g., `migrations/`, `db/migrate/`)
- When writing rollback/down migration methods
- When planning zero-downtime deployments with backwards-compatible schema changes
- When separating schema changes from data transformation scripts
- When naming migration files with descriptive, clear names

## Instructions

For details, refer to the information provided in this file:
[backend migrations](../../../agent-os/standards/backend/migrations.md)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/coreyja) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

