Individual skill
database-migrations
跨 PostgreSQL、MySQL 及常用 ORM(Prisma、Drizzle、Django、TypeORM、golang-migrate)的模式变更(schema changes)、数据迁移、回滚及零停机部署(zero-downtime deployments)的数据库迁移最佳实践。
skills/database-migrations/SKILL.md
Source commit dfbf9467b90dfd29bffa842c4e0a6977112900e2
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,025
- Repository last updated
- Mar 5, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- anthropic Repository topic
- claude Repository topic
- claude-code Repository topic
- developer-tools Repository topic
- llm Repository topic
- mcp Repository topic
- productivity Repository topic
- everything-claude-code Repository topic
- oneskill Repository topic
- data Derived category
- engineering Derived category
- data-databases Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytesSKILL.mdcore · 9,760 bytes
Read excerpt
# 数据库迁移模式(Database Migration Patterns)
面向生产系统的安全、可逆的数据库模式变更(Schema Changes)。
## 激活时机
- 创建或修改数据库表
- 添加/删除列或索引
- 执行数据迁移(数据回填 backfill、转换 transform)
- 规划零停机(zero-downtime)模式变更
- 为新项目设置迁移工具链
## 核心原则