chainlink: github.com/smartcontractkit/chainlink/core/store/migrations/migration1560924400 Index | Files

package migration1560924400

import "github.com/smartcontractkit/chainlink/core/store/migrations/migration1560924400"

Index

Package Files

migrate.go

func Migrate Uses

func Migrate(tx *gorm.DB) error

Migrate adds the BlockHash column to the RunRequest and TxReceipt tables

type RunRequest Uses

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.

Package migration1560924400 imports 4 packages (graph) and is imported by 1 packages. Updated 2019-07-30. Refresh now. Tools for package owners.