merge

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, d *db.DB, cfg *config.Config, stepsCfg *steps.Config, dbDir, toolVersion string, tag, force bool) error

func Rebase

func Rebase(ctx context.Context, d *db.DB, cfg *config.Config, stepsCfg *steps.Config, dbDir, toolVersion string, force bool) error

Rebase folds every migration object into the base step folders. An object an existing base file owns gets its live definition spliced in place. A new concept is grouped with the rest of its source migration's new objects into a new file in the base step that owns its schema, named from the migration and versioned after that folder's existing files. Pure schema migrations empty out; migrations carrying data are the only residue.

func Revert

func Revert(ctx context.Context, d *db.DB, cfg *config.Config, stepsCfg *steps.Config, dbDir, toolVersion, target string, force bool) error

Types

type Ident

type Ident struct {
	Kind string
	Name string
}

Jump to

Keyboard shortcuts

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