Back to

package migration1565877314

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


func Migrate

func Migrate(tx *gorm.DB) error

Migrate adds External Initiator Name and URL fields.

type ExternalInitiator

type ExternalInitiator struct {
	Name           string        `gorm:"not null,unique"`
	URL            models.WebURL `gorm:"not null"`
	AccessKey      string        `gorm:"not null"`
	Salt           string        `gorm:"not null"`
	HashedSecret   string        `gorm:"not null"`
	OutgoingSecret string        `gorm:"not null"`
	OutgoingToken  string        `gorm:"not null"`
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier