migration-rollout

Installation
SKILL.md

迁移与上线(Migration & Rollout)

参考来源:Martin Fowler《Refactoring Databases》Expand/Contract 模式、Sam Newman《Building Microservices》、GitHub gh-ost、Percona pt-online-schema-change、Stripe / Shopify 大表迁移实践。

适用场景

  • 新增、修改、删除表和字段
  • 大表回填、数据修复、历史数据清洗
  • 新旧字段双写、灰度切换、兼容窗口
  • 新增或删除索引、约束、外键
  • 库间数据迁移(拆库 / 合库 / 跨数据中心)
  • 输出上线计划、回滚计划和验证清单

核心原则

1. 生产迁移不是单条 DDL
   先兼容 → 再切换 → 最后清理
Installs
2
GitHub Stars
36
First Seen
Jul 17, 2026
migration-rollout — zhaoxuya520/ai-fullstack-delivery-workflow