method

Store.ReadyWithMigrationHistory

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

Prove ordinary readiness and exact agreement with executable migration history.

Source adapters/sqlite/sqlite.go:326

@param ctx
The ctx value.
@param manifest
The manifest value.
@param expectedHistoryDigest
The expectedHistoryDigest value.
@returns
The declared result.

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

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.