Documentation ¶
Overview ¶
Deprecated: package migrate makes this version backwards compatible. Expect this to be removed very soon.
Index ¶
- func Create(url, migrationsPath, name string) (*file.MigrationFile, error)
- func Down(pipe chan interface{}, url, migrationsPath string)
- func DownSync(url, migrationsPath string) (errs []error, ok bool)
- func Graceful()
- func Migrate(pipe chan interface{}, url, migrationsPath string, relativeN int)
- func MigrateSync(url, migrationsPath string, relativeN int) (errs []error, ok bool)
- func NewPipe() chan interface{}
- func NonGraceful()
- func Redo(pipe chan interface{}, url, migrationsPath string)
- func RedoSync(url, migrationsPath string) (errs []error, ok bool)
- func Reset(pipe chan interface{}, url, migrationsPath string)
- func ResetSync(url, migrationsPath string) (errs []error, ok bool)
- func Up(pipe chan interface{}, url, migrationsPath string)
- func UpSync(url, migrationsPath string) (errs []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.