database-migration

Execute database schema and data migrations across Sequelize, TypeORM, and Prisma.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ACGSpgp/ACGS --skill database-migration-acgspgp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/ACGSpgp/ACGS/tree/main/.agent/workflows/framework-migration/1.2.2/skills/database-migration
Command: npx skills add https://github.com/ACGSpgp/ACGS --skill database-migration-acgspgp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the complex process of database schema and data migrations, ensuring minimal disruption and providing robust rollback capabilities.

Core Features & Use Cases

  • Multi-ORM Support: Handles migrations for Sequelize, TypeORM, and Prisma.
  • Zero-Downtime Strategies: Implements techniques like blue-green deployments and phased column updates.
  • Data Transformation: Safely transforms data during migration, including complex restructuring.
  • Rollback Procedures: Ensures you can revert changes safely using transactions or backups.
  • Use Case: Migrating your application's user data from a legacy SQL schema to a new structure with added fields, all without taking your service offline.

Quick Start

Use the database-migration skill to add a new 'status' column with a default value of 'active' to the 'users' table.

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 when adding new columns?

Zero-downtime database migration uses phased column updates and blue-green deployment strategies to apply schema changes without taking your service offline. This approach allows you to add columns with default values safely while the application continues serving traffic.

Does this database migration approach work with TypeORM, Sequelize, and Prisma?

Yes, database migration supports multiple ORMs including TypeORM, Sequelize, and Prisma. You can execute schema and data migrations across these frameworks while managing cross-database compatibility and schema refactoring.

What is the safest way to rollback a schema migration if something goes wrong?

The safest rollback procedure for a schema migration utilizes database transactions or backups to revert changes safely. This ensures you can recover your original database structure and data if a migration fails or produces errors.

How do I transform and restructure existing data during a schema migration?

Data transformation during a schema migration safely restructures existing records, handling complex data modifications like migrating user data from a legacy SQL schema to a new structure with added fields without losing information.

When do I need a zero-downtime database migration strategy?

You need a zero-downtime database migration strategy when upgrading database versions or refactoring schemas on live applications. It prevents service disruption by using techniques like blue-green deployments and phased updates for continuous availability.