database-migration

Migrate databases across Sequelize, TypeORM, and Prisma with rollback procedures.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/ccf/claude-code-ccf-marketplace --skill database-migration-ccf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/ccf/claude-code-ccf-marketplace/tree/main/plugins/refactoring/skills/database-migration
Command: npx skills add https://github.com/ccf/claude-code-ccf-marketplace --skill database-migration-ccf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sequelize, typeorm, prisma, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill enables safe, cross-ORM database migrations with zero-downtime strategies and robust rollback procedures.

Core Features & Use Cases

It covers migrations across Sequelize, TypeORM, and Prisma, supports schema transformations and data migrations, and provides clear backup and rollback workflows for production environments. It also enables cross-database compatibility and structured verification steps.

Quick Start

Run a safe migration plan to move a sample table (e.g., users) from Sequelize to Prisma with a backup and rollback plan.

Frequently Asked Questions about database-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is zero-downtime database migration across ORMs?

Zero-downtime database migration moves schemas and data across ORMs like Sequelize, TypeORM, and Prisma without service interruptions. It uses explicitly defined migration scripts, transactional updates, and structured backfills to maintain production availability.

How do I migrate a database from Sequelize to Prisma safely?

To migrate from Sequelize to Prisma safely, run a structured migration plan that includes generating a backup, defining explicit migration scripts, performing data backfills, and verifying deployment success before completing the rollback workflow.

Can I use this to handle schema transformations and data migrations with TypeORM?

Yes, this approach handles schema transformations and data migrations with TypeORM. It supports cross-database compatibility by requiring transactional updates where possible and structured verification steps to ensure production safety.

What is the best way to rollback a failed ORM migration in production?

The best way to rollback a failed ORM migration is to follow a robust rollback procedure using your pre-migration backup. This skill provides clear backup and rollback workflows to safely revert schema and data changes in production environments.

Does zero-downtime database migration require explicitly defined migration scripts?

Yes, zero-downtime database migration requires explicitly defined migration scripts. It also mandates transactional updates where possible and a structured plan to validate compatibility, perform backfills, and verify deployment success.