mirror of
https://github.com/status-im/migrate.git
synced 2025-02-24 08:48:09 +00:00
Merge pull request #66 from jamiecuthill/patch-1
Error in example mysql driver import statement
This commit is contained in:
commit
6028882529
@ -79,7 +79,7 @@ See GoDoc here: http://godoc.org/github.com/mattes/migrate/migrate
|
|||||||
import "github.com/mattes/migrate/migrate"
|
import "github.com/mattes/migrate/migrate"
|
||||||
|
|
||||||
// Import any required drivers so that they are registered and available
|
// 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 ...
|
// use synchronous versions of migration functions ...
|
||||||
allErrors, ok := migrate.UpSync("driver://url", "./path")
|
allErrors, ok := migrate.UpSync("driver://url", "./path")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user