database-migration

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

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/HCMUTE-RTIC/fit-hcmute --skill database-migration-hcmute-rtic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/HCMUTE-RTIC/fit-hcmute/tree/main/.agent/skills/database-migration
Command: npx skills add https://github.com/HCMUTE-RTIC/fit-hcmute --skill database-migration-hcmute-rtic

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 migrating database schemas and data, ensuring data integrity and minimizing downtime across various ORMs and platforms.

Core Features & Use Cases

  • ORM Agnostic Migrations: Supports Sequelize, TypeORM, and Prisma.
  • Schema Transformations: Safely add, rename, or change column types.
  • Data Migration & Transformation: Move and reshape data between schemas.
  • Zero-Downtime Strategies: Implements advanced techniques for seamless deployments.
  • Rollback Procedures: Ensures you can revert changes safely.
  • Use Case: Migrating a critical users table from a VARCHAR email to a TEXT type without interrupting service.

Quick Start

Execute the database migration to create the users table using Prisma.

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 migration is achieved by applying advanced deployment strategies that maintain transactional integrity and execute data transformations without interrupting active service.

Can I use this approach to migrate data across different ORMs like Sequelize and TypeORM?

Yes, ORM-agnostic database migration supports multiple frameworks including Sequelize, TypeORM, and Prisma. This cross-database compatibility ensures schema transformations and data migrations work seamlessly across different environments.

What is the best way to rollback a database schema change if something goes wrong?

The best way to rollback a database schema change is to use robust rollback procedures designed to safely revert schema modifications and restore data to its previous state while maintaining transactional integrity.

How do I safely change a column type in a database without losing data?

To safely change a column type without losing data, you apply schema transformations that systematically add, rename, or modify columns while executing complex data migrations to reshape the data between schemas.

Does database migration support complex data transformations during version upgrades?

Yes, database migration supports complex data transformations during database version upgrades and refactoring. It facilitates moving and reshaping data between schemas while ensuring cross-database compatibility and transactional integrity.