You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
okapidemo/sharedmodel/connection.go

16 lines
390 B

3 years ago
package sharedmodel
import (
"gorm.io/gorm"
)
type Connection struct {
gorm.Model
OrganisationIdentifier string
OrganisationIdentifierType string
OrganisationDisplayName string
AuthConfigID uint
AuthConfig *XISAuthConfig `gorm:"constraint:OnDelete:CASCADE;"`
Services []ServiceConfig `gorm:"constraint:OnDelete:CASCADE;"`
3 years ago
}