database-migration

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

4|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/EngineerWithAI/engineerwith-agents --skill database-migration-engineerwithai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/EngineerWithAI/engineerwith-agents/tree/main/plugins/framework-migration/skills/database-migration
Command: npx skills add https://github.com/EngineerWithAI/engineerwith-agents --skill database-migration-engineerwithai

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 and often risky process of updating database schemas and migrating data, ensuring data integrity and minimizing application downtime.

Core Features & Use Cases

  • ORM Support: Handles migrations for popular ORMs like Sequelize, TypeORM, and Prisma.
  • Schema Transformations: Safely add, rename, or change column types with zero-downtime strategies.
  • Data Transformation: Migrate and transform data between different formats or structures.
  • Rollback Strategies: Implements robust rollback procedures to revert changes if issues arise.
  • Zero-Downtime Deployments: Facilitates seamless database updates without interrupting service.
  • Use Case: Migrating a user table from a name column to first_name and last_name columns without users noticing any service interruption.

Quick Start

Use the database-migration skill to create a new users table using Sequelize.

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 schema migration?

Zero-downtime database schema migration requires strategies like expanding schemas first, performing data transformation, and safely renaming or changing column types before removing old structures. This ensures data integrity and seamless database updates without service interruption.

Can I rename a database column without application downtime using TypeORM or Prisma?

Yes, you can rename database columns without downtime using ORMs like TypeORM or Prisma. The process involves creating the new column, migrating data, updating application code to use the new column, and finally dropping the old column in a later deployment phase.

What is the best way to split a user name column into first and last name in Sequelize?

The best way to split a name column into first_name and last_name in Sequelize is a multi-step data transformation. You add new columns, backfill them by splitting existing data, update the application to use them, and then drop the original name column.

How do database rollback procedures work when a schema update fails?

Database rollback procedures revert schema and data changes if a migration fails or causes issues. They involve applying reverse migration scripts through ORMs to undo structural changes and restore data to its previous state, ensuring safe schema evolution.

Does this database migration approach support data transformation between different structures?

Yes, this database migration approach supports data transformation between different structures. It handles migrating and transforming data formats during schema updates, ensuring data integrity while moving information between different column types or table structures.

When should I use zero-downtime database migrations instead of standard deployments?

You should use zero-downtime database migrations instead of standard deployments when your application requires high availability. If users cannot tolerate service interruptions during schema modifications, zero-downtime strategies ensure seamless database updates while maintaining continuous application operation.