changelist

package
v0.116.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeList

type ChangeList struct {
	Migrators []migrate.Migrator
}

ChangeList represents a list of changes within a section of the schema processor. It can take in a list of different migrators for a specific section and will apply them in order, based on whether Apply or Rollback is called

func (ChangeList) Apply

func (c ChangeList) Apply(signal any) error

func (ChangeList) Do

func (c ChangeList) Do(ss migrate.StateSelector, signal any) error

func (ChangeList) Rollback

func (c ChangeList) Rollback(signal any) error

Jump to

Keyboard shortcuts

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