Documentation ¶
Index ¶
- func ApplyAll(ctx context.Context, url string) (int, error)
- func Down(ctx context.Context, url, targetName string) (int, error)
- func DumpMigrations(dest string) error
- func Names() []string
- func Up(ctx context.Context, url, targetName string) (int, error)
- func VerifyAll(ctx context.Context, url string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Down ¶
Down will roll back all migrations up to, but NOT including, targetName.
If the DB contains unknown migrations, err is returned.
func DumpMigrations ¶
DumpMigrations will attempt to write all migration files to the specified directory
func Names ¶
func Names() []string
Names will return all AssetNames without the timestamps and extensions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.