migration1565877314

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 6 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