database-migration-integrity-checker
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDatabase Migration Integrity Checker
数据库迁移完整性检查工具
Purpose and Intent
用途与目的
The is a safety net for your most critical asset: your data. It catches dangerous SQL operations that might pass a standard code review but could cause production outages or data loss.
database-migration-integrity-checkerdatabase-migration-integrity-checkerWhen to Use
使用场景
- CI/CD Pipelines: Block deployments if a migration contains a high-risk operation without manual override.
- Local Development: Run before committing a new migration to ensure it follows safe DDL practices.
- CI/CD流水线:如果迁移包含高风险操作且未手动覆盖,则阻止部署。
- 本地开发:提交新迁移前运行,确保其遵循安全的DDL实践。
When NOT to Use
不适用场景
- Data Querying: This is for schema changes, not for auditing standard SELECT/INSERT queries.
- 数据查询:此工具用于*模式(Schema)*变更,而非审计标准SELECT/INSERT查询。
Security and Data-Handling Considerations
安全与数据处理注意事项
- Reads SQL files only; no database access required.
- Safe for local use.
- 仅读取SQL文件;无需访问数据库。
- 本地使用安全。