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

hashmigrations

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Increment this when the hash calculation algorithm changes
	CurrentHashVersion = 8
	// Config key for tracking hash migration version
	HashMigrationVersionKey = "hash_migration_version"
)

Variables

This section is empty.

Functions

func RunHashMigrationsIfNeeded

func RunHashMigrationsIfNeeded(pool *pgxpool.Pool, daemonRunner shared.DaemonRunner, vulndbService shared.VulnDBService, configService shared.ConfigService) error

func RunRiverMigrations added in v1.17.0

func RunRiverMigrations() error

runRiverMigrations applies pending River Queue migrations (the tables river's job/queue client needs) against the river database. This is the programmatic equivalent of running `river migrate-up` via the river CLI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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