Create and manage database schema migrations with reversible operations, zero-downtime deployments, and safe rollback strategies. Use this skill when writing database migrations for PostgreSQL, MySQL, SQLite, MongoDB, or any database system; when using ORMs like Prisma, Sequelize, TypeORM, ActiveRecord, Django ORM, or similar migration tools; when implementing schema changes (adding tables, columns, indexes, constraints); when performing data migrations or transformations; when creating index...
Installs into .claude/skills of the current project.
Are you the author of Backend Migrations?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/diegosouzapw-backend-migrations)
---
name: Backend Migrations
description: Create and manage database schema migrations with reversible operations, zero-downtime deployments, and safe rollback strategies. Use this skill when writing database migrations for PostgreSQL, MySQL, SQLite, MongoDB, or any database system; when using ORMs like Prisma, Sequelize, TypeORM, ActiveRecord, Django ORM, or similar migration tools; when implementing schema changes (adding tables, columns, indexes, constraints); when performing data migrations or transformations; when creating indexes on large tables with concurrent options to avoid locks; when separating schema changes from data migrations for safer rollbacks; when implementing zero-downtime deployment strategies for high-availability systems; when versioning database schemas and managing migration order; or when working with database change management in production environments.
---
# 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 database migration files with schema or data changes
- When writing reversible migrations with rollback/down methods
- When implementing zero-downtime deployment strategies
- When adding indexes to large tables with concurrent options
- When separating schema changes from data migrations
- When managing database versioning and migration order
- When using ORM migration tools like Prisma, Sequelize, TypeORM, ActiveRecord, Django migrations
- When planning safe database deployment and rollback strategies
## Instructions
For details, refer to the information provided in this file:
[backend migrations](../../../agent-os/standards/backend/migrations.md)