migration

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package migration runs SQL migrations against a Volcano database connection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAll added in v0.45.0

func ApplyAll(ctx context.Context, deps cliruntime.Deps, database string, out io.Writer) error

ApplyAll applies every migration in volcano/migrations to database, as "migrations deploy --all" does.

func New

func New(deps cliruntime.Deps) *cobra.Command

New returns the migration command.

func NewLocal

func NewLocal(deps cliruntime.Deps) *cobra.Command

NewLocal returns the local migrations command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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