method

Store.ReadyWithMigrationHistory

Prove ordinary readiness and exact agreement with executable migration history.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
manifestschema.ManifestThe manifest value.
expectedHistoryDigeststringThe expectedHistoryDigest value.

Returns

The declared result.

error

How it works

Compares every ordered ledger filename and artifact digest with the fingerprint embedded by ridu build inside the readiness read transaction.

Full signature

func (backend *Store) ReadyWithMigrationHistory( ctx context.Context, manifest schema.Manifest, expectedHistoryDigest string, ) error

Source adapters/sqlite/sqlite.go:340

Related types

  • Store

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

  • Manifest

    An immutable versioned schema contract.