migrations

package
v0.0.0-...-9d9be1d Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down

func Down(connStr string, logger func(format string, v ...interface{})) error

Down brings the database down by applying the down migrations.

func Reset

func Reset(connStr string, logger func(format string, v ...interface{})) error

Reset resets the database by bringing the database down, then up again.

func Up

func Up(connStr string, logger func(format string, v ...interface{})) error

Up brings the database up to date to the latest migration.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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