type

FieldRename

One explicit authored field-path continuity inside a collection rename.

Properties

PropertyTypeDescription
BeforestringBefore is the canonical field path in the before manifest.
AfterstringAfter is the canonical field path in the after manifest.

Full signature

type FieldRename struct { // Before is the canonical field path in the before manifest. Before string `json:"before"` // After is the canonical field path in the after manifest. After string `json:"after"` }

Source migration/migration.go:240