db

package
v0.1.0-alpha.59 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DowngradeDB

func DowngradeDB(cfg *codegen.Config, revision string, keepSchemaFiles bool) error

func FixEdges

func FixEdges(cfg *codegen.Config) error

func RunAlembicCommand

func RunAlembicCommand(cfg *codegen.Config, command string, args ...string) error

func Squash added in v0.0.28

func Squash(cfg *codegen.Config, squash int) error

func UpgradeDB

func UpgradeDB(cfg *codegen.Config, revision string, sql bool) error

Types

type Step

type Step struct {
	// contains filtered or unexported fields
}

func (*Step) Name

func (s *Step) Name() string

func (*Step) PreProcessData

func (s *Step) PreProcessData(processor *codegen.Processor) error

func (*Step) ProcessData

func (s *Step) ProcessData(processor *codegen.Processor) error

Jump to

Keyboard shortcuts

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