mirror of https://github.com/status-im/migrate.git
Rename sources to reflect updated build constraint names
This commit is contained in:
parent
dfa9fc05cb
commit
0f16f7f6a2
|
@ -12,7 +12,7 @@
|
|||
Some more helpful commands:
|
||||
|
||||
* You can specify which database/ source tests to run:
|
||||
`make test-short SOURCE='file go-bindata' DATABASE='postgres cassandra'`
|
||||
`make test-short SOURCE='file go_bindata' DATABASE='postgres cassandra'`
|
||||
* After `make test`, run `make html-coverage` which opens a shiny test coverage overview.
|
||||
* `make build-cli` builds the CLI in directory `cli/build/`.
|
||||
* `make list-external-deps` lists all external dependencies for each package
|
||||
|
|
|
@ -43,10 +43,10 @@ Database drivers run migrations. [Add a new database?](database/driver.go)
|
|||
Source drivers read migrations from local or remote sources. [Add a new source?](source/driver.go)
|
||||
|
||||
* [Filesystem](source/file) - read from fileystem
|
||||
* [Go-Bindata](source/go-bindata) - read from embedded binary data ([jteeuwen/go-bindata](https://github.com/jteeuwen/go-bindata))
|
||||
* [Go-Bindata](source/go_bindata) - read from embedded binary data ([jteeuwen/go-bindata](https://github.com/jteeuwen/go-bindata))
|
||||
* [Github](source/github) - read from remote Github repositories
|
||||
* [AWS S3](source/aws-s3) - read from Amazon Web Services S3
|
||||
* [Google Cloud Storage](source/google-cloud-storage) - read from Google Cloud Platform Storage
|
||||
* [AWS S3](source/aws_s3) - read from Amazon Web Services S3
|
||||
* [Google Cloud Storage](source/google_cloud_storage) - read from Google Cloud Platform Storage
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/golang-migrate/migrate/source/aws-s3"
|
||||
_ "github.com/golang-migrate/migrate/source/aws_s3"
|
||||
)
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/golang-migrate/migrate/source/go-bindata"
|
||||
_ "github.com/golang-migrate/migrate/source/go_bindata"
|
||||
)
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/golang-migrate/migrate/source/google-cloud-storage"
|
||||
_ "github.com/golang-migrate/migrate/source/google_cloud_storage"
|
||||
)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# aws-s3
|
||||
# aws_s3
|
||||
|
||||
`s3://<bucket>/<prefix>`
|
|
@ -1,4 +1,4 @@
|
|||
# go-bindata
|
||||
# go_bindata
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -14,8 +14,8 @@ cd examples/migrations && go-bindata -pkg migrations .
|
|||
```go
|
||||
import (
|
||||
"github.com/golang-migrate/migrate"
|
||||
"github.com/golang-migrate/migrate/source/go-bindata"
|
||||
"github.com/golang-migrate/migrate/source/go-bindata/examples/migrations"
|
||||
"github.com/golang-migrate/migrate/source/go_bindata"
|
||||
"github.com/golang-migrate/migrate/source/go_bindata/examples/migrations"
|
||||
)
|
||||
|
||||
func main() {
|
|
@ -3,7 +3,7 @@ package bindata
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/golang-migrate/migrate/source/go-bindata/testdata"
|
||||
"github.com/golang-migrate/migrate/source/go_bindata/testdata"
|
||||
st "github.com/golang-migrate/migrate/source/testing"
|
||||
)
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
# google-cloud-storage
|
||||
# google_cloud_storage
|
||||
|
||||
`gcs://<bucket>/<prefix>`
|
Loading…
Reference in New Issue