migrations

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFuncs

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