Back to

package migration1560924400

Latest Go to latest
Published: 3 days ago | License: MIT | Module:


func Migrate

func Migrate(tx *gorm.DB) error

Migrate adds the BlockHash column to the RunRequest and TxReceipt tables

type RunRequest

type RunRequest struct {
	ID        uint `gorm:"primary_key"`
	RequestID *string
	TxHash    *common.Hash
	BlockHash *common.Hash
	Requester *common.Address
	CreatedAt time.Time

RunRequest stores the fields used to initiate the parent job run. This migration introduces the BlockHash column onto the table.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier