migration

package
v0.1.103 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMigrationAttempts = 20
	DefaultMigrationTimeout  = 1 * time.Second
	DefaultMigrationSource   = "file://db/migrations"
)

Variables

This section is empty.

Functions

func Migrate

func Migrate(databaseDriver, databaseURL string)

Migrate runs the database migrations.

func NewPostgresMigration

func NewPostgresMigration(databaseURL string) (*migrate.Migrate, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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