Topics
- Database
- migrations
- sequelize
- typeorm
- prisma
- schema
- orm
- zero-downtime
- rollback
- data-transformation
What it does
Handles schema changes, data transformations, and rollbacks across Sequelize, TypeORM, and Prisma with zero-downtime strategies. Covers column additions, renames, type changes, complex data migrations, transactions, and backup-based rollback procedures.
Generated from the current SKILL.md.
Frequently asked
Does this skill work with Sequelize, TypeORM, and Prisma?
Yes. The skill covers migration patterns for all three ORMs, including schema transformations, data migrations, and rollback procedures specific to each.
How does this skill handle zero-downtime migrations?
It demonstrates multi-step approaches like adding a new column, migrating data, updating the application, then dropping the old column — preventing downtime by never requiring simultaneous schema and code changes.
Does this skill support rolling back migrations?
Yes. It includes transaction-based rollbacks and checkpoint-based recovery patterns, including backup tables for complex migrations that need verification before commit.
Can this skill handle data transformations during migration?
Yes. It includes patterns for complex transformations like splitting a single address string into multiple columns, with both migration and rollback logic.
Does this skill cover column type changes?
Yes. It demonstrates safe multi-step type changes using intermediate columns and data casting, particularly for large tables where direct conversion could fail.
Generated from the current SKILL.md. These answers refresh after source changes.