migrations

package
v0.2.7 Latest Latest
Warning

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

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

Documentation

Overview

Package migrations provides the functionality for managing database migrations for the vss tables.

Code generated by "clickhouse-infra" DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFuncs added in v0.2.4

func RegisterFuncs() []func()

RegisterFuncs returns the list of functions for registering goose migrations.

func RunGoose

func RunGoose(ctx context.Context, gooseArgs []string, db *sql.DB) error

RunGoose runs the goose command with the provided arguments. args should be the command and the arguments to pass to goose. eg RunGoose(ctx, []string{"up", "-v"}, db).

Types

This section is empty.

Jump to

Keyboard shortcuts

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