
backend-migrations
Create and manage database migrations with reversible up/down methods, zero-downtime deployment stra
提供方 maksimtereshin|开源
Backend Migrations
This Skill provides Claude Code with specific guidance on how to adhere to coding standards for database migrations and schema versioning.
When to use this skill
- When creating new database migration files for schema changes
- When working with migration files (.ts, .js, .py, .sql) in migrations directories
- When altering table structures (adding/removing columns, changing types)
- When creating or modifying database indexes on tables
- When implementing data migrations or backfilling existing data
- When writing reversible migration rollback methods (down/rollback functions)
- When handling zero-downtime deployments with backwards-compatible schema changes
- When separating schema changes from data transformations
- When using migration tools (TypeORM, Sequelize, Alembic, Rails Active Record, Flyway, Liquibase)
- When managing database version control and migration history
Instructions
For details, refer to the information provided in this file: backend migrations