type

Rename

type Rename struct { // Kind selects collection or field rename planning. Kind RenameKind // BeforeCollection is the collection embedded in the previous artifact. BeforeCollection schema.Collection // AfterCollection is its collection in current executable config. AfterCollection schema.Collection // BeforeField and AfterField are set for a standalone field rename. BeforeField *schema.Field AfterField *schema.Field // Fields contains all physical and nested field pairs for a collection rename. Fields []FieldRename }

Confirmed collection or field identity continuity used during migration planning.

Source adapters/postgres/migrate.go:46

KindRenameKind
Kind selects collection or field rename planning.
BeforeCollectionschema.Collection
BeforeCollection is the collection embedded in the previous artifact.
AfterCollectionschema.Collection
AfterCollection is its collection in current executable config.
BeforeField*schema.Field
BeforeField and AfterField are set for a standalone field rename.
AfterField*schema.Field
The AfterField value.
Fields[]FieldRename
Fields contains all physical and nested field pairs for a collection rename.