type

MigrationStatus

One artifact’s ledger state and optional phased progress.

Properties

PropertyTypeDescription
NamestringName is the complete artifact filename.
ChecksumstringChecksum is the canonical artifact SHA-256 digest.
Versionuint32Version is the frozen artifact wire version.
AppliedboolApplied reports whether the database ledger contains this artifact.
Phases[]MigrationPhaseStatusPhases exposes resumable progress.

Full signature

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"` }

Source adapters/postgres/migrate.go:66