database

package
v0.1.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppliedMigration

type AppliedMigration struct {
	Version string
	Name    string
}

func Apply

func Apply(ctx context.Context, conn *pgx.Conn, migrationsDir string) ([]AppliedMigration, error)

func ApplyURL

func ApplyURL(ctx context.Context, databaseURL, migrationsDir string) ([]AppliedMigration, error)

Jump to

Keyboard shortcuts

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