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.
Click to show internal directories.
Click to hide internal directories.