method

Store.ApplyArtifacts

func (backend *Store) ApplyArtifacts( ctx context.Context, directory string, transforms ...ridumigration.DataTransform, ) error

Validate complete immutable history, take the fenced lease, and apply pending work.

Source adapters/mongodb/migration_runner.go:18

@param ctx
The ctx value.
@param directory
The directory value.
@param transforms
The transforms value.
@returns
The declared result.

The lifecycle is forward-only: there are no down, reset, refresh, or fresh methods. Correct forward with another reviewed artifact or restore a matched database-and-upload recovery point.

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • DataTransform

    Executable up and down callbacks bound to an immutable descriptor.