mirror of https://github.com/status-im/migrate.git
parent
1485e567f1
commit
56a56527c6
|
@ -26,10 +26,6 @@ func main() {
|
|||
})
|
||||
|
||||
d, err := bindata.WithInstance(s)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
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