method

Store.ResetArtifacts

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

Atomically reverse all applied artifacts.

Source adapters/sqlite/migration_lifecycle.go:47

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

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.