migrations

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMigrations

func RunMigrations(ctx context.Context, opts MigrationOptions) error

RunMigrations applies all available up migrations.

Types

type MigrationOptions

type MigrationOptions struct {
	DBInstance     *pgxpool.Pool
	DBCfg          config.Database
	MigrationsPath string
}

Jump to

Keyboard shortcuts

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