type
MigrationStatus
type MigrationStatus struct {
// Name is the complete artifact filename.
Name string `json:"name"`
// Checksum is the canonical artifact SHA-256 digest.
Checksum string `json:"checksum"`
// Version is the frozen artifact wire version.
Version uint32 `json:"version"`
// Applied reports whether the database ledger contains this artifact.
Applied bool `json:"applied"`
// Phases exposes resumable progress.
Phases []MigrationPhaseStatus `json:"phases,omitempty"`
}One artifact’s ledger state and optional phased progress.
Source adapters/postgres/migrate.go:61
Namestring- Name is the complete artifact filename.
Checksumstring- Checksum is the canonical artifact SHA-256 digest.
Versionuint32- Version is the frozen artifact wire version.
Appliedbool- Applied reports whether the database ledger contains this artifact.
Phases[]MigrationPhaseStatus- Phases exposes resumable progress.