function
CreateArtifact
func CreateArtifact(
ctx context.Context,
directory,
name string,
after schema.Manifest,
now time.Time,
allowDestructive bool,
transforms ...ridumigration.DataTransformDescriptor,
) (CreatedArtifact, error)Plan and atomically write one immutable SQLite migration artifact.
Related types
ManifestAn immutable versioned schema contract.
CreatedArtifactThe stable filesystem identity of a newly committed artifact.
DataTransformDescriptorImmutable artifact identity for one compiled migration callback.