Skip to content

Files

Latest commit

3b3c1b6 · May 28, 2021

History

History
This branch is 262 commits behind golang-migrate/migrate:master.

github

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