mirror of https://github.com/status-im/migrate.git
add some comments and typo fixed
This commit is contained in:
parent
470b2c7a7e
commit
a2af1abb3a
|
@ -58,7 +58,7 @@ See http://godoc.org/github.com/mattes/migrate/migrate
|
||||||
import "github.com/mattes/migrate/migrate"
|
import "github.com/mattes/migrate/migrate"
|
||||||
|
|
||||||
|
|
||||||
migrate.Up postgres://user@host:port/database, "./db/migrations")
|
migrate.Up(postgres://user@host:port/database, "./db/migrations")
|
||||||
// ...
|
// ...
|
||||||
// ...
|
// ...
|
||||||
```
|
```
|
||||||
|
|
|
@ -41,3 +41,5 @@ func TestCreate(t *testing.T) {
|
||||||
t.Error("not all expected files have been found")
|
t.Error("not all expected files have been found")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO add tests for commands (redo is broken atm?)
|
||||||
|
|
Loading…
Reference in New Issue