Documentation ¶
Index ¶
Constants ¶
View Source
const MIGRATION_TABLE_NAME_FORMAT = "%s_schema_migrations"
Variables ¶
This section is empty.
Functions ¶
func GenerateDatabaseURL ¶
Generate PostgreSQL DB conn string with customized migration table name
func GenerateDefaultDatabaseURL ¶
Generate default PostgreSQL DB conn string with customized migration table name
Types ¶
type MigrationHelper ¶
type MigrationHelper interface {
Migrate()
}
Click to show internal directories.
Click to hide internal directories.