Documentation
¶
Overview ¶
Package previewmigrate: Migration preview functionality for safe SQL testing Provides zero-cost error recovery by testing migrations in transactions that always rollback Features intelligent script discovery and integration with existing migration workflows Prevents dirty state issues in automated migration processes
previewmigrate: 用于安全 SQL 测试的迁移预览功能 通过在始终回滚的事务中测试迁移提供零成本错误恢复 具有智能脚本发现功能,与现有迁移工作流集成 防止自动化迁移过程中的脏状态问题
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPreviewCmd ¶
NewPreviewCmd creates preview command for migration dry-run with subcommands Provides safe validation of migration scripts before actual execution Includes subcommands that mirror the migrate command structure
NewPreviewCmd 创建具有子命令的迁移试运行预览命令 在实际执行前提供迁移脚本的安全验证 包含镜像迁移命令结构的子命令
Types ¶
This section is empty.