type
ArtifactOptions
ArtifactOptions are the reviewed decisions a PostgreSQL migration records beyond its before and after manifests.
Properties
| Property | Type | Description |
|---|---|---|
AllowDestructive | bool | AllowDestructive accepts planned changes that remove stored data. |
Renames | []Rename | Renames are the confirmed renames whose content the migration keeps. |
DataTransforms | []migration.DataTransformDescriptor | DataTransforms are the compiled callbacks the migration runs. |
ExistingDocuments | map[schema.StableID]migration.ExistingDocuments | ExistingDocuments says, for each resource that starts keeping versions, what becomes of the documents it already stores. |
Full signature
type ArtifactOptions struct {
// AllowDestructive accepts planned changes that remove stored data.
AllowDestructive bool
// Renames are the confirmed renames whose content the migration keeps.
Renames []Rename
// DataTransforms are the compiled callbacks the migration runs.
DataTransforms []ridumigration.DataTransformDescriptor
// ExistingDocuments says, for each resource that starts keeping versions,
// what becomes of the documents it already stores.
ExistingDocuments map[schema.StableID]ridumigration.ExistingDocuments
}