function
CreateArtifact
func CreateArtifact(
ctx context.Context,
directory,
name string,
after schema.Manifest,
now time.Time,
) (CreatedArtifact, error)Publish an artifact with the frozen legacy MongoDB planner 1.0.0 creator.
Source adapters/mongodb/migrations.go:81
This legacy-v1 entry point remains only for existing direct callers and immutable-history compatibility. New application and CLI-facing migrations use CreateArtifactWithOptions and planner 2.0.0.
Planning is offline and never receives a database URL, secret, or live MongoDB state.
Related types
ManifestAn immutable versioned schema contract.
CreatedArtifactThe stable filesystem identity of one newly published artifact.