migrationhelper

package
v1.3.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MIGRATION_TABLE_NAME_FORMAT = "%s_schema_migrations"

Variables

This section is empty.

Functions

func GenerateDatabaseURL

func GenerateDatabaseURL(
	connString string,
	migrationTableName string,
) string

Generate PostgreSQL DB conn string with customized migration table name

func GenerateDefaultDatabaseURL

func GenerateDefaultDatabaseURL(
	projectionId string,
	connString string,
) string

Generate default PostgreSQL DB conn string with customized migration table name

Types

type MigrationHelper

type MigrationHelper interface {
	Migrate()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL