function
BuildArtifactWithPreviousPlanner
func BuildArtifactWithPreviousPlanner(
ctx context.Context,
name string,
before *schema.Manifest,
after schema.Manifest,
renames []Rename,
allowDestructive bool,
previousPlannerVersion string,
) (ridumigration.Artifact, error)Plan a reviewed migration against the exact physical planner contract recorded by its predecessor.
Source adapters/postgres/atlas_migration.go:47
Ordinary callers should use BuildArtifact. Migration-history creation uses this entry point only when a reviewed planner upgrade must emit semantic data work.