migrations

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migrations

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

func New

func New(dbUser, dbPass, dbHost, dbPort, dbName string) *Migrations

func NewFromConn

func NewFromConn(conn *sql.DB) *Migrations

func (*Migrations) Down

func (m *Migrations) Down(steps int) (int, error)

func (*Migrations) Up

func (m *Migrations) Up(steps int) (int, error)

Jump to

Keyboard shortcuts

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