migrate

package
v0.0.0-...-0902d68 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(migrationsDir, name string) error

func Down

func Down(opts Options) error

func Force

func Force(opts Options, target int) error

func Goto

func Goto(opts Options, target uint) error

func Status

func Status(opts Options) error

func Up

func Up(opts Options) error

func Version

func Version(opts Options) error

Types

type Options

type Options struct {
	ProjectDir    string
	ConfigPath    string
	MigrationsDir string
	Steps         int
}

Jump to

Keyboard shortcuts

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