Documentation
¶
Index ¶
- Variables
- func ForceExecuteVersion(targetVersion string) error
- func GetAllVersions() []string
- func RegisterIncr(app *ioc.App)
- func RollbackToVersion(currentVersion, targetVersion string) error
- func RunIncrementalOperations(currentVersion string) error
- func RunIncrementalOperationsToVersion(currentVersion, targetVersion string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDuplicateVersion = fmt.Errorf("版本重复,请修改")
ErrDuplicateVersion 表示版本重复的错误
Functions ¶
func ForceExecuteVersion ¶ added in v1.10.0
ForceExecuteVersion 强制执行指定版本的增量操作(不更新版本号)
func RollbackToVersion ¶
RollbackToVersion 回滚到指定版本
func RunIncrementalOperations ¶
RunIncrementalOperations 执行所有低于当前版本的增量操作
func RunIncrementalOperationsToVersion ¶
RunIncrementalOperationsToVersion 执行到指定版本的增量操作
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.