migrate

package
v3.0.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Deprecated: package migrate makes this version backwards compatible. Expect this to be removed very soon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(url, migrationsPath, name string) (*file.MigrationFile, error)

func Down

func Down(pipe chan interface{}, url, migrationsPath string)

func DownSync

func DownSync(url, migrationsPath string) (err []error, ok bool)

func Graceful

func Graceful()

func Migrate

func Migrate(pipe chan interface{}, url, migrationsPath string, relativeN int)

func MigrateSync

func MigrateSync(url, migrationsPath string, relativeN int) (err []error, ok bool)

func NewPipe

func NewPipe() chan interface{}

func NonGraceful

func NonGraceful()

func Redo

func Redo(pipe chan interface{}, url, migrationsPath string)

func RedoSync

func RedoSync(url, migrationsPath string) (err []error, ok bool)

func Reset

func Reset(pipe chan interface{}, url, migrationsPath string)

func ResetSync

func ResetSync(url, migrationsPath string) (err []error, ok bool)

func Up

func Up(pipe chan interface{}, url, migrationsPath string)

func UpSync

func UpSync(url, migrationsPath string) (err []error, ok bool)

func Version

func Version(url, migrationsPath string) (version uint64, err error)

Types

This section is empty.

Directories

Path Synopsis
Deprecated: package direction is deprecated.
Deprecated: package direction is deprecated.
Deprecated: package file is deprecated.
Deprecated: package file is deprecated.

Jump to

Keyboard shortcuts

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