package
4.15.3
Repository: https://github.com/sfinks80/golang-migrate.git
Documentation: pkg.go.dev

# README

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 QueryWithInstance ConfigDescription
user(optional) The username of the user connecting
personal-access-token(optional) An access token from GitHub (https://github.com/settings/tokens)
ownerthe repo owner
repothe name of the repository
pathpath in repo to migrations
ref(optional) can be a SHA, branch, or tag