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.

Source adapters/sqlite/migrations.go:116

@param ctx
The ctx value.
@param directory
The directory value.
@param name
The name value.
@param after
The after value.
@param now
The now value.
@param allowDestructive
The allowDestructive value.
@param transforms
The transforms value.
@returns
The declared result.

Related types