migration

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New() *Client

func (*Client) Down

func (c *Client) Down() error

func (*Client) Setup

func (c *Client) Setup(ctx context.Context, db *sql.DB, path, migrTable string) error

func (*Client) SetupFS added in v0.2.1

func (c *Client) SetupFS(ctx context.Context, db *sql.DB, fs fs.FS, migrTable string) error

func (*Client) Up

func (c *Client) Up() error

Jump to

Keyboard shortcuts

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