Files
GeorgeWheatcroftandGitHub 6ddc639d02 fix issue of downloading and using github sourced migration files of … (#900)
* fix issue of downloading and using github sourced migration files of 100MB >=1Mb (which previously failed to download due to their size and the api call performed) by preferring the go-github client library method 'DownloadContents' for such operations (which doesn't have the same limitation)

* empty commit & push to trigger ci
2023-03-24 23:18:40 -07:00
..
2017-02-07 22:01:29 -08:00
2021-01-30 23:07:53 -08: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.

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

Unauthenticated client: github://owner/repo/path#ref

URL Query WithInstance Config Description
user (optional) The username of the user connecting
personal-access-token (optional) 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