Back to

package migration1560881855

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


func Migrate

func Migrate(tx *gorm.DB) error

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

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

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier