mirror of https://github.com/status-im/migrate.git
Error in example mysql driver import statement
This commit is contained in:
parent
8fe1a56731
commit
2f6745a42f
|
@ -79,7 +79,7 @@ See GoDoc here: http://godoc.org/github.com/mattes/migrate/migrate
|
|||
import "github.com/mattes/migrate/migrate"
|
||||
|
||||
// Import any required drivers so that they are registered and available
|
||||
import _ "github.com/mattes/migrate/drivers/mysql"
|
||||
import _ "github.com/mattes/migrate/driver/mysql"
|
||||
|
||||
// use synchronous versions of migration functions ...
|
||||
allErrors, ok := migrate.UpSync("driver://url", "./path")
|
||||
|
|
Loading…
Reference in New Issue