migration1560881855

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(tx *gorm.DB) error

Types

type LinkEarned

type LinkEarned struct {
	ID        uint64       `gorm:"primary_key;not null;auto_increment"`
	JobSpecID string       `gorm:"index;not null;type:varchar(36) REFERENCES job_specs(id)"`
	JobRunID  string       `gorm:"unique;not null;type:varchar(36) REFERENCES job_runs(id)"`
	Earned    *assets.Link `gorm:"type:varchar(255)"`
	EarnedAt  time.Time    `gorm:"index"`
}

LinkEarned is a capture of the model before migration1565291711

Jump to

Keyboard shortcuts

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