PgFlow.Upstream.Claim (PgFlow v0.4.0)

Copy Markdown View Source

Recorded eight-column start_tasks/4 body from core V02.

Helpers V05 installs the recorded definition with schema placeholders expanded. The checksum guards this fragment; the importer determinism check separately verifies its relationship to core V02.

Summary

Functions

SHA-256 of the recorded fragment bytes.

Returns the recorded SQL fragment with $SCHEMA$ placeholders.

Verifies the on-disk fragment still matches the recorded checksum.

Functions

checksum()

@spec checksum() :: String.t()

SHA-256 of the recorded fragment bytes.

eight_column_start_tasks_sql()

@spec eight_column_start_tasks_sql() :: String.t()

Returns the recorded SQL fragment with $SCHEMA$ placeholders.

verify!()

@spec verify!() :: :ok

Verifies the on-disk fragment still matches the recorded checksum.