kamimai: github.com/eure/kamimai Index | Files | Directories

package kamimai

import "github.com/eure/kamimai"

Index

Package Files

kamimai.go

Constants

โ–
const Version = "v0.4.2"

Version represents kamimai's semantic version.

func Current Uses

โ–
func Current(c *core.Config) (uint64, error)

Current returns the current migration version.

func Down Uses

โ–
func Down(c *core.Config) error

Down applies down migration files.

func Sync Uses

โ–
func Sync(c *core.Config) error

Sync applies non-applied migration files.

func Up Uses

โ–
func Up(c *core.Config) error

Up applies up migration files.

Directories

PathSynopsis
core
driver
internal/cast
internal/direction
internal/version

Package kamimai imports 2 packages (graph). Updated 2020-10-20. Refresh now. Tools for package owners.