backend-migrations

Create and manage database migrations with reversible up/down methods, focused changes, and zero-downtime deployment considerations. Use this skill when creating or modifying migration files in directories like migrations/, db/migrate/, alembic/versions/, sequelize/migrations/, prisma/migrations/, or any database schema versioning folders. Use this when adding or altering database tables, columns, indexes, foreign keys, or constraints in migration scripts, implementing both up (apply changes) and down (rollback changes) methods for reversible migrations that allow safe rollbacks if deployments fail, writing migration scripts for ORMs and migration tools like Sequelize, Alembic, Django migrations, Rails migrations, TypeORM, Prisma migrations, Knex.js migrations, or any database migration framework, creating database indexes on large tables using concurrent creation options like CREATE INDEX CONCURRENTLY in PostgreSQL to avoid table locks that would block production traffic during deployment, separating schema

$ 安裝

git clone https://github.com/frankdevlabs/compilothq /tmp/compilothq && cp -r /tmp/compilothq/.claude/skills/backend-migrations ~/.claude/skills/compilothq

// tip: Run this command in your terminal to install the skill