seqwall

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CurrentMigrationPlaceholder = "{current_migration}"

Variables

This section is empty.

Functions

func ErrBaselineNotFound added in v0.0.3

func ErrBaselineNotFound() error

func ErrNoMigrationFiles added in v0.0.3

func ErrNoMigrationFiles() error

func ErrNoMigrations added in v0.0.3

func ErrNoMigrations() error

func ErrPostgresURLRequired added in v0.0.3

func ErrPostgresURLRequired() error

func ErrSnapshotsDiffer added in v0.0.3

func ErrSnapshotsDiffer() error

Types

type Cli

type Cli interface {
	Run()
}

type StaircaseWorker

type StaircaseWorker struct {
	// contains filtered or unexported fields
}

func NewStaircaseWorker

func NewStaircaseWorker(
	migrationsPath string,
	compareSchemaSnapshots bool,
	depth int,
	upgradeCmd string,
	downgradeCmd string,
	postgresURL string,
	schemas []string,
	migrationsExtension string,
) *StaircaseWorker

func (*StaircaseWorker) Run

func (s *StaircaseWorker) Run() error

Jump to

Keyboard shortcuts

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