migrate/source/github
Dale Hui 06d3ebde1c Use strings.NewReader() instead of bytes.NewReader() when source is a string
- Group imports
2018-11-05 22:50:08 -08:00
..
examples/migrations initial version 3.0.0 preview 2017-02-07 22:01:29 -08:00
.gitignore initial version 3.0.0 preview 2017-02-07 22:01:29 -08:00
README.md add ref (SHA, branch, or tag) to the github migration source 2018-05-04 03:16:12 +00:00
github.go Use strings.NewReader() instead of bytes.NewReader() when source is a string 2018-11-05 22:50:08 -08:00
github_test.go Use v4 for Go module support 2018-10-10 16:16:23 -07:00

README.md

github

github://user:personal-access-token@owner/repo/path#ref

URL Query WithInstance Config Description
user The username of the user connecting
personal-access-token An access token from Github (https://github.com/settings/tokens)
owner the repo owner
repo the name of the repository
path path in repo to migrations
ref (optional) can be a SHA, branch, or tag