package
Version:
v3.0.0-prev1+incompatible
Opens a new window with list of versions in this module.
Published: Feb 9, 2017
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Deprecated: package migrate is here to make sure v2 is downwards compatible with v1
-
func Create(url, migrationsPath, name string) (*file.MigrationFile, error)
-
func Down(pipe chan interface{}, url, migrationsPath string)
-
func DownSync(url, migrationsPath string) (err []error, ok bool)
-
func Graceful()
-
func Migrate(pipe chan interface{}, url, migrationsPath string, relativeN int)
-
func MigrateSync(url, migrationsPath string, relativeN int) (err []error, ok bool)
-
func NewPipe() chan interface{}
-
func NonGraceful()
-
func Redo(pipe chan interface{}, url, migrationsPath string)
-
func RedoSync(url, migrationsPath string) (err []error, ok bool)
-
func Reset(pipe chan interface{}, url, migrationsPath string)
-
func ResetSync(url, migrationsPath string) (err []error, ok bool)
-
func Up(pipe chan interface{}, url, migrationsPath string)
-
func UpSync(url, migrationsPath string) (err []error, ok bool)
-
func Version(url, migrationsPath string) (version uint64, err error)
func Down(pipe chan interface{}, url, migrationsPath string)
func Migrate(pipe chan interface{}, url, migrationsPath string, relativeN int)
func NewPipe() chan interface{}
func Redo(pipe chan interface{}, url, migrationsPath string)
func Reset(pipe chan interface{}, url, migrationsPath string)
func Up(pipe chan interface{}, url, migrationsPath string)
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.