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/postgres/postgres.go:218

@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.

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.