db

package
v0.5.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AggregatorMigrationName is the name of the migration used to associate with the migrations dir
	AggregatorMigrationName = "aggregator-db"
)

Variables

This section is empty.

Functions

func CheckMigrations

func CheckMigrations(dbPath string, name string) error

CheckMigrations runs migrate-up for the given config.

func RunMigrationsDown

func RunMigrationsDown(dbPath string, name string) error

RunMigrationsDown runs migrate-down for the given config.

func RunMigrationsUp

func RunMigrationsUp(dbPath string, name string) error

RunMigrationsUp runs migrate-up for the given config.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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