Back to godoc.org
github.com/smartcontractkit/chainlink/core/store/migrations/migration1565877314

package migration1565877314

v0.8.5
Latest Go to latest
Published: 3 days ago | License: MIT | Module: github.com/smartcontractkit/chainlink

Index

func Migrate

func Migrate(tx *gorm.DB) error

Migrate adds External Initiator Name and URL fields.

type ExternalInitiator

type ExternalInitiator struct {
	*gorm.Model
	Name           string        `gorm:"not null,unique"`
	URL            models.WebURL `gorm:"not null"`
	AccessKey      string        `gorm:"not null"`
	Salt           string        `gorm:"not null"`
	HashedSecret   string        `gorm:"not null"`
	OutgoingSecret string        `gorm:"not null"`
	OutgoingToken  string        `gorm:"not null"`
}
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier