Help us shape the future of Go! Take the 2026 Go Developer Survey

migrate

package
v1.0.1410 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExecutableScripts added in v1.0.756

func GetExecutableScripts(pool *sql.DB, mustRun, skip []string) (map[string]string, map[string]string, error)

GetExecutableScripts returns functions & views that must be applied. It takes dependencies into account & excludes any unchanged scripts.

func RunMigrations added in v1.0.10

func RunMigrations(pool *sql.DB, config api.Config) error

Types

type DependencyMap added in v1.0.756

type DependencyMap map[string][]string

DependencyMap map holds path -> dependents

Jump to

Keyboard shortcuts

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