alembic-migrations
✓SQLAlchemy 2.0 異步的 Alembic 遷移模式。在創建數據庫遷移、管理架構版本、處理零停機部署或實施可逆數據庫更改時使用。
SKILL.md
Database migration management with Alembic for SQLAlchemy 2.0 async applications.
| Async dialect | Use postgresql+asyncpg | Native async support | | NOT NULL column | Two-phase: nullable first, then alter | Avoids locking, backward compatible | | Large table index | CREATE INDEX CONCURRENTLY | Zero-downtime, no table locks | | Column rename | 4-phase expand/contract | Safe migration without downtime |
| Autogenerate review | Always review generated SQL | May miss custom constraints | | Migration granularity | One logical change per file | Easier rollback and debugging | | Production deployment | Generate SQL, review, then apply | Never auto-run in production | | Downgrade function | Always implement properly | Ensures reversibility |
SQLAlchemy 2.0 異步的 Alembic 遷移模式。在創建數據庫遷移、管理架構版本、處理零停機部署或實施可逆數據庫更改時使用。 來源:yonatangross/orchestkit。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/yonatangross/orchestkit --skill alembic-migrations- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 alembic-migrations?
SQLAlchemy 2.0 異步的 Alembic 遷移模式。在創建數據庫遷移、管理架構版本、處理零停機部署或實施可逆數據庫更改時使用。 來源:yonatangross/orchestkit。
如何安裝 alembic-migrations?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/yonatangross/orchestkit --skill alembic-migrations 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/yonatangross/orchestkit
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01