migrations

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorCannotMigrateDown = fmt.Errorf("cannot migrate down major")

ErrorCannotMigrateDown is thrown if migrate down is called on a major migration

Functions

This section is empty.

Types

type Major005 added in v0.1.10

type Major005 struct{}

func (Major005) Down added in v0.1.10

func (Major005) Down(repoPath string, pinCode string, testnet bool) error

func (Major005) Major added in v0.1.10

func (Major005) Major() bool

func (Major005) Up added in v0.1.10

func (Major005) Up(repoPath string, pinCode string, testnet bool) error

type Minor000 added in v0.1.10

type Minor000 struct{}

func (Minor000) Down added in v0.1.10

func (Minor000) Down(repoPath string, pinCode string, testnet bool) error

func (Minor000) Major added in v0.1.10

func (Minor000) Major() bool

func (Minor000) Up added in v0.1.10

func (Minor000) Up(repoPath string, pinCode string, testnet bool) error

type Minor001 added in v0.1.10

type Minor001 struct{}

func (Minor001) Down added in v0.1.10

func (Minor001) Down(repoPath string, pinCode string, testnet bool) error

func (Minor001) Major added in v0.1.10

func (Minor001) Major() bool

func (Minor001) Up added in v0.1.10

func (Minor001) Up(repoPath string, pinCode string, testnet bool) error

type Minor002 added in v0.1.10

type Minor002 struct{}

func (Minor002) Down added in v0.1.10

func (Minor002) Down(repoPath string, pinCode string, testnet bool) error

func (Minor002) Major added in v0.1.10

func (Minor002) Major() bool

func (Minor002) Up added in v0.1.10

func (Minor002) Up(repoPath string, pinCode string, testnet bool) error

type Minor003 added in v0.1.10

type Minor003 struct{}

func (Minor003) Down added in v0.1.10

func (Minor003) Down(repoPath string, pinCode string, testnet bool) error

func (Minor003) Major added in v0.1.10

func (Minor003) Major() bool

func (Minor003) Up added in v0.1.10

func (Minor003) Up(repoPath string, pinCode string, testnet bool) error

type Minor004 added in v0.1.10

type Minor004 struct{}

func (Minor004) Down added in v0.1.10

func (Minor004) Down(repoPath string, pinCode string, testnet bool) error

func (Minor004) Major added in v0.1.10

func (Minor004) Major() bool

func (Minor004) Up added in v0.1.10

func (Minor004) Up(repoPath string, pinCode string, testnet bool) error

type Minor006 added in v0.1.10

type Minor006 struct{}

func (Minor006) Down added in v0.1.10

func (Minor006) Down(repoPath string, pinCode string, testnet bool) error

func (Minor006) Major added in v0.1.10

func (Minor006) Major() bool

func (Minor006) Up added in v0.1.10

func (Minor006) Up(repoPath string, pinCode string, testnet bool) error

type Minor007 added in v0.1.10

type Minor007 struct{}

func (Minor007) Down added in v0.1.10

func (Minor007) Down(repoPath string, pinCode string, testnet bool) error

func (Minor007) Major added in v0.1.10

func (Minor007) Major() bool

func (Minor007) Up added in v0.1.10

func (Minor007) Up(repoPath string, pinCode string, testnet bool) error

type Minor008 added in v0.1.10

type Minor008 struct{}

func (Minor008) Down added in v0.1.10

func (Minor008) Down(repoPath string, pinCode string, testnet bool) error

func (Minor008) Major added in v0.1.10

func (Minor008) Major() bool

func (Minor008) Up added in v0.1.10

func (Minor008) Up(repoPath string, pinCode string, testnet bool) error

type Minor009 added in v0.1.10

type Minor009 struct{}

func (Minor009) Down added in v0.1.10

func (Minor009) Down(repoPath string, pinCode string, testnet bool) error

Down is for a migration downgrade (not implemented)

func (Minor009) Major added in v0.1.10

func (Minor009) Major() bool

Major is for a major version migration change (not implemented)

func (Minor009) Up added in v0.1.10

func (Minor009) Up(repoPath string, pinCode string, testnet bool) error

type Minor010 added in v0.1.10

type Minor010 struct{}

func (Minor010) Down added in v0.1.10

func (Minor010) Down(repoPath string, pinCode string, testnet bool) error

Down is for a migration downgrade (not implemented)

func (Minor010) Major added in v0.1.10

func (Minor010) Major() bool

Major is for a major version migration change (not implemented)

func (Minor010) Up added in v0.1.10

func (Minor010) Up(repoPath string, pinCode string, testnet bool) error

type Minor011 added in v0.1.10

type Minor011 struct{}

func (Minor011) Down added in v0.1.10

func (Minor011) Down(repoPath string, pinCode string, testnet bool) error

Down is for a migration downgrade (not implemented)

func (Minor011) Major added in v0.1.10

func (Minor011) Major() bool

Major is for a major version migration change (not implemented)

func (Minor011) Up added in v0.1.10

func (Minor011) Up(repoPath string, pinCode string, testnet bool) error

type Minor012 added in v0.1.12

type Minor012 struct{}

func (Minor012) Down added in v0.1.12

func (Minor012) Down(repoPath string, pinCode string, testnet bool) error

func (Minor012) Major added in v0.1.12

func (Minor012) Major() bool

func (Minor012) Up added in v0.1.12

func (Minor012) Up(repoPath string, pinCode string, testnet bool) error

type Minor013 added in v0.3.0

type Minor013 struct{}

func (Minor013) Down added in v0.3.0

func (Minor013) Down(repoPath string, pinCode string, testnet bool) error

func (Minor013) Major added in v0.3.0

func (Minor013) Major() bool

func (Minor013) Up added in v0.3.0

func (Minor013) Up(repoPath string, pinCode string, testnet bool) error

type Minor014 added in v0.4.1

type Minor014 struct{}

func (Minor014) Down added in v0.4.1

func (Minor014) Down(repoPath string, pinCode string, testnet bool) error

func (Minor014) Major added in v0.4.1

func (Minor014) Major() bool

func (Minor014) Up added in v0.4.1

func (Minor014) Up(repoPath string, pinCode string, testnet bool) error

type Minor015 added in v0.4.2

type Minor015 struct{}

func (Minor015) Down added in v0.4.2

func (Minor015) Down(repoPath string, pinCode string, testnet bool) error

func (Minor015) Major added in v0.4.2

func (Minor015) Major() bool

func (Minor015) Up added in v0.4.2

func (Minor015) Up(repoPath string, pinCode string, testnet bool) error

type Minor016 added in v0.7.2

type Minor016 struct{}

func (Minor016) Down added in v0.7.2

func (Minor016) Down(repoPath string, pinCode string, testnet bool) error

func (Minor016) Major added in v0.7.2

func (Minor016) Major() bool

func (Minor016) Up added in v0.7.2

func (Minor016) Up(repoPath string, pinCode string, testnet bool) error

Jump to

Keyboard shortcuts

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