Documentation ¶
Index ¶
Constants ¶
View Source
const MIGRATION_DIRECTORY_FORMAT = "projection/%s/migrations"
View Source
const MIGRATION_GITHUB_URL_FORMAT = "github://%s:%s@crypto-com/chain-indexing/%s"
Variables ¶
This section is empty.
Functions ¶
func GenerateDefaultSourceURL ¶
Generate the default Github URL to migration source files
Types ¶
type GithubMigrationHelper ¶
type GithubMigrationHelper struct {
// contains filtered or unexported fields
}
func NewGithubMigrationHelper ¶
func NewGithubMigrationHelper(sourceURL string, databaseURL string) *GithubMigrationHelper
func (*GithubMigrationHelper) Migrate ¶
func (gmh *GithubMigrationHelper) Migrate()
Implement MigrationHelper interface
Click to show internal directories.
Click to hide internal directories.