migration1568280052

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(tx *gorm.DB) error

Migrate adds External Initiator Name and URL fields.

Types

type ExternalInitiator

type ExternalInitiator struct {
	*gorm.Model
	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"`
}

Jump to

Keyboard shortcuts

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