migration1568390387

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(tx *gorm.DB) error

Migrate amends the encumbrances table to include the aggregator contact details

Types

type Encumbrance

type Encumbrance struct {
	ID                     uint         `gorm:"primary_key;auto_increment"`
	Payment                *assets.Link `gorm:"type:varchar(255)"`
	Expiration             uint64
	EndAt                  time.Time
	Oracles                string  `gorm:"type:text"`
	Aggregator             string  `gorm:"not null"`
	AggInitiateJobSelector [4]byte `gorm:"not null"`
	AggFulfillSelector     [4]byte `gorm:"not null"`
}

Jump to

Keyboard shortcuts

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