migrations

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorCannotMigrateDown = errors.New("cannot migrate down major")

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

Functions

This section is empty.

Types

type Major005

type Major005 struct{}

func (Major005) Down

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

func (Major005) Major

func (Major005) Major() bool

func (Major005) Up

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

type Minor000

type Minor000 struct{}

func (Minor000) Down

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

func (Minor000) Major

func (Minor000) Major() bool

func (Minor000) Up

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

type Minor001

type Minor001 struct{}

func (Minor001) Down

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

func (Minor001) Major

func (Minor001) Major() bool

func (Minor001) Up

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

type Minor002

type Minor002 struct{}

func (Minor002) Down

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

func (Minor002) Major

func (Minor002) Major() bool

func (Minor002) Up

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

type Minor003

type Minor003 struct{}

func (Minor003) Down

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

func (Minor003) Major

func (Minor003) Major() bool

func (Minor003) Up

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

type Minor004

type Minor004 struct{}

func (Minor004) Down

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

func (Minor004) Major

func (Minor004) Major() bool

func (Minor004) Up

func (Minor004) 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