Files
migrate/source/github
Danny HermesandGitHub ce735a631f Replacing Github with GitHub. (#429)
* Replacing `Github` with `GitHub`.

Done via:

```
$ git grep -l Github | xargs sed -i '' s/Github/GitHub/g
```

* Reverting changes to Go files.
2020-08-17 13:55:44 -07:00
..
2017-02-07 22:01:29 -08:00
2018-10-10 16:16:23 -07:00
2019-06-16 12:48:01 -07:00
2020-08-17 13:55:44 -07:00

github

This driver is catered for those that want to source migrations from github.com. The URL scheme doesn't require a hostname, as it just simply defaults to github.com.

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