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.

Full signature

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

Source adapters/postgres/readiness.go:65

Related types

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.

  • Manifest

    An immutable versioned schema contract.