method

Store.ApplyArtifacts

Validate and atomically apply all pending immutable artifacts.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
directorystringThe directory value.
transforms[]migration.DataTransformThe transforms value.

Returns

The declared result.

error

Full signature

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

Source adapters/sqlite/migrations.go:672

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • DataTransform

    Executable up and down callbacks bound to an immutable descriptor.