Skill
Database Migration
Plans schema changes that ship without taking the database offline.
Install
Ships scripts/plugin marketplace add wshobson/agents; /plugin install framework-migration
Triggers on
When a schema changes, data moves between databases, or a rollback plan is needed.
- Author
- wshobson
- License
- MIT
Repositoryhttps://github.com/wshobson/agents
Migrations are handled as a sequence rather than a single step: add the column, backfill it, switch the readers, only then drop the old one. The skill covers Prisma, TypeORM and Sequelize, moving data between engines, and writing the rollback path before the forward path is applied. It assumes the change will be deployed while traffic is still running.
Comments(0)
Sign in to comment