Compare commits

..

No commits in common. "57b4791a4a816a9233da2b28d3e28433413049ae" and "2f2388caabf1bc2944e26d3577aa0600d074a7b1" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -199,7 +199,3 @@ type GCUser struct {
Username string `json:"username"`
AcdAutoAnswer bool `json:"acdAutoAnswer"`
}
func (GCUser) TableName() string {
return "gc_users"
}

View File

@ -23,7 +23,7 @@ type DBParticipant struct {
WrapupRequired *bool
Sessions []DBSession `gorm:"foreignKey:ParticipantId;references:Id"`
Calls []DBCall `gorm:"foreignKey:ParticipantId;references:Id`
Calls []DBCall `gorm:"foreignKey:ParticipantId;referencesId`
User GCUser `gorm:"foreignKey:UserId;references:Id`
}