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

package migration1559767166

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

Index

Package Files

migrate.go

func Migrate Uses

func Migrate(tx *gorm.DB) error

type TaskRun Uses

type TaskRun struct {
    ID                   string    `json:"id" gorm:"primary_key;not null"`
    JobRunID             string    `json:"-" gorm:"index;not null;type:varchar(36) REFERENCES job_runs(id) ON DELETE CASCADE"`
    ResultID             uint      `json:"-"`
    Status               string    `json:"status"`
    TaskSpecID           uint      `json:"-" gorm:"index;not null REFERENCES task_specs(id)"`
    MinimumConfirmations uint64    `json:"minimumConfirmations"`
    Confirmations        uint64    `json:"confirmations" gorm:"default: 0;not null"`
    CreatedAt            time.Time `json:"-" gorm:"index"`
}

Package migration1559767166 imports 3 packages (graph). Updated 2019-07-30. Refresh now. Tools for package owners.