generate

package
v0.2.4-fork.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "generate",
	Aliases: []string{"g"},
	Short:   "Generate migration files or other database-related assets",
	Long: `The 'generate' command helps you scaffold migration files and other assets
for your database workflows.

Use this to generate SQL migration files or prepare directories used by tools like golang-migrate.
Currently, it only supports generating SQL migration files w/ golang-migrate.
`,
}

Functions

func Migrate

func Migrate(cfg config.Config, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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