migrate

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Admin bool

Admin only migration.

View Source
var User bool

User only migration.

Functions

func AddCommands

func AddCommands(cmd *cobra.Command)

AddCommands adds all subcommands to RootCmd.

func NewMigrateCommand

func NewMigrateCommand() *cobra.Command

NewMigrateCommand declare the migration sub commands.

func Status

func Status(cookbook recipe.Cooker, args []string) error

Status will show the migration status.

func UpDown

func UpDown(direction string, cookbook recipe.Cooker, args []string) error

UpDown manage the actual migration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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