migrations

package
v0.0.0-...-cc36037 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Dir = "file://./data/migrations"

Dir is the directory where the database migration files reside prefixed with the file:// protocol.

Variables

This section is empty.

Functions

func Down

func Down(db *sql.DB, migrationsPath string) error

func Up

func Up(db *sql.DB, migrationsPath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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