mirror of
https://github.com/status-im/migrate.git
synced 2025-02-23 16:28:08 +00:00
Update README.md
Some format :-p
This commit is contained in:
parent
180c57747d
commit
1485e567f1
@ -25,10 +25,10 @@ func main() {
|
||||
return migrations.Asset(name)
|
||||
})
|
||||
|
||||
d, err := bindata.WithInstance(s)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
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…
x
Reference in New Issue
Block a user