postgresmigration

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 4 Imported by: 0

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 immediately before the final PostgreSQL schema assertion without changing the artifact format or physical planner contract.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL