mirror of https://github.com/status-im/migrate.git
Update README.md
This commit is contained in:
parent
56a56527c6
commit
35af42a0dd
|
@ -25,7 +25,7 @@ func main() {
|
|||
return migrations.Asset(name)
|
||||
})
|
||||
|
||||
d, err := bindata.WithInstance(s)
|
||||
d, err := bindata.WithInstance(s)
|
||||
m, err := migrate.NewWithSourceInstance("go-bindata", d, "database://foobar")
|
||||
m.Up() // run your migrations and handle the errors above of course
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue