migrate

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

func NewRunner

func NewRunner(migrationsDir, connectionString string) (*Runner, error)

func (*Runner) Close

func (r *Runner) Close()

func (*Runner) Run

func (r *Runner) Run(args ...string) error

func (*Runner) WithSchema

func (r *Runner) WithSchema(schemaName string) (*Runner, error)

WithSchema creates a new Runner instance with the specified schema

Jump to

Keyboard shortcuts

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