Documentation ¶
Overview ¶
Deprecated: package migrate is here to make sure v2 is downwards compatible with v1
Index ¶
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateSync ¶
func NonGraceful ¶
func NonGraceful()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.