database-migration

Migrate database schemas and data across Sequelize, TypeORM, and Prisma with rollback support.

6|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/ChrstprJohn/SamsonDentalCenter --skill database-migration-chrstprjohn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/ChrstprJohn/SamsonDentalCenter/tree/main/.agent/skills/database/database-migration
Command: npx skills add https://github.com/ChrstprJohn/SamsonDentalCenter --skill database-migration-chrstprjohn

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?

Orchestrate safe migrations of database schemas and data across ORMs (Sequelize, TypeORM, Prisma) with rollback strategies, zero-downtime deployments, and schema transformations to avoid downtime and data loss.

Core Features & Use Cases

  • Cross-ORM migrations: migrate schemas and data between Sequelize, TypeORM, and Prisma with backward-compatible changes.
  • Zero-downtime deployment: apply changes with phased rollout and feature flags to avoid service interruption.
  • Data transformations and rollback: include schema transformations, data migrations, and robust rollback procedures.
  • Verification and backfill: validate results and backfill legacy columns as needed.

Quick Start

Migrate a sample schema from the current ORM to the target ORM using a phased, zero-downtime plan.

Frequently Asked Questions about database-migration

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

FAQPage Schema
How do I perform a zero-downtime database migration between Sequelize and Prisma?

Zero-downtime database migration between Sequelize and Prisma is achieved using a phased rollout strategy with feature flags. This approach applies backward-compatible schema changes to avoid service interruption and data loss during the transition.

What is the best way to migrate database schemas across different ORMs without losing data?

The best way to migrate schemas across ORMs without data loss is to define clear goals, constraints, and verification steps before execution. This ensures traceable, reversible migrations with robust data transformation and rollback procedures.

Can I roll back a TypeORM schema migration if the deployment fails?

Yes, you can roll back a TypeORM schema migration if the deployment fails. The process includes robust rollback procedures and verification steps to safely reverse schema transformations and restore the previous database state.

Does this approach support data transformation and backfill for legacy columns during cross-database migrations?

Yes, this approach supports data transformation and backfill for legacy columns during cross-database migrations. It validates migration results and backfills legacy data as needed to ensure consistency across Sequelize, TypeORM, and Prisma.

When do I need to use a phased rollout for ORM migrations?

You need to use a phased rollout for ORM migrations when applying zero-downtime deployments. This technique uses feature flags and backward-compatible changes to apply schema transformations safely without causing service interruption.