Documentation
¶
Overview ¶
Package postgresmigration owns private deterministic artifact assembly for the PostgreSQL planner, which artifact creation and the runner share.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindDataTransforms ¶
func BindDataTransforms(artifact migration.Artifact, transforms []migration.DataTransformDescriptor) (migration.Artifact, error)
BindDataTransforms inserts checksum-only callback identities into the final transaction phase, immediately before its required-value audit when it has one and otherwise before the final PostgreSQL schema assertion, so the audit sees the values a transform writes.
func ValidateVersionedTransition ¶
func ValidateVersionedTransition(before, after schema.Snapshot, transforms []migration.DataTransformDescriptor) error
ValidateVersionedTransition refuses transform-backed field changes that would leave retained snapshots on the previous structure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.