Versions in this module Expand all Collapse all v0 v0.1.18 Jul 10, 2026 Changes in this version + const CREATE_TEMPLATE + func ConnectShadowDatabase(ctx context.Context, timeout time.Duration, options ...func(*pgx.ConnConfig)) (conn *pgx.Conn, err error) + func CreateShadowDatabase(ctx context.Context, port uint16) (string, error) + func DiffDatabase(ctx context.Context, schema []string, config pgconn.Config, w io.Writer, ...) (string, error) + func DiffPgDelta(ctx context.Context, source, target pgconn.Config, schema []string, ...) (string, error) + func DiffPgDeltaRef(ctx context.Context, sourceRef, targetRef string, schema []string, ...) (string, error) + func DiffPgSchema(ctx context.Context, source, target pgconn.Config, schema []string, ...) (string, error) + func DiffSchemaMigra(ctx context.Context, source, target pgconn.Config, schema []string, ...) (string, error) + func DiffSchemaMigraBash(ctx context.Context, source, target pgconn.Config, schema []string, ...) (string, error) + func DiffSchemaPgAdmin(ctx context.Context, source, target string, schema []string, p utils.Program) (string, error) + func ExportCatalogPgDelta(ctx context.Context, targetRef, role string, options ...func(*pgx.ConnConfig)) (string, error) + func MigrateShadowDatabase(ctx context.Context, container string, fsys afero.Fs, ...) error + func Run(ctx context.Context, schema []string, file string, config pgconn.Config, ...) (err error) + func RunExplicit(ctx context.Context, fromRef, toRef string, schema []string, outputPath string, ...) error + func RunPgAdmin(ctx context.Context, schema []string, file string, config pgconn.Config, ...) error + func SaveDiff(out, file string, fsys afero.Fs) error + type DeclarativeFile struct + Order int + Path string + SQL string + Statements int + type DeclarativeOutput struct + Files []DeclarativeFile + Mode string + Version int + func DeclarativeExportPgDelta(ctx context.Context, source, target pgconn.Config, schema []string, ...) (DeclarativeOutput, error) + func DeclarativeExportPgDeltaRef(ctx context.Context, sourceRef, targetRef string, schema []string, ...) (DeclarativeOutput, error) + type DiffFunc func(context.Context, pgconn.Config, pgconn.Config, []string, ...) (string, error)