migration

package
v0.0.0-...-4164891 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, cfg types.Config) error

Add creates a new directory with stub migration files in the given schema and returns the names of the newly created files. If there was an error, the filesystem is rolled-back.

func Down

func Down(c *cli.Context, cfg types.Config) error

func Init

func Init(c *cli.Context) (err error)

Init initliazes a project for use with kat.

func Up

func Up(c *cli.Context, cfg types.Config) error

Up is the command that runs the up migration operation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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