Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusPending = "pending" StatusApplied = "applied" StatusSkipped = "skipped" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyResult ¶
type ApplyResult struct {
Applied []MigrationRun `json:"applied"`
Skipped []MigrationRun `json:"skipped"`
}
type Definition ¶
type ExecutorFunc ¶
type MigrationRun ¶
type MigrationRun struct {
ID string `json:"id"`
Name string `json:"name"`
Resource string `json:"resource"`
FromVersion string `json:"from_version"`
ToVersion string `json:"to_version"`
Status string `json:"status"`
RowsMigrated int64 `json:"rows_migrated"`
AppliedAtMS int64 `json:"applied_at_ms"`
UpdatedAtMS int64 `json:"updated_at_ms"`
}
type StatusResult ¶
type StatusResult struct {
Migrations []MigrationRun `json:"migrations"`
}
Click to show internal directories.
Click to hide internal directories.