Compare commits
2 Commits
2f2388caab
...
57b4791a4a
| Author | SHA1 | Date | |
|---|---|---|---|
| 57b4791a4a | |||
| 7737b8b4d2 |
@ -199,3 +199,7 @@ type GCUser struct {
|
||||
Username string `json:"username"`
|
||||
AcdAutoAnswer bool `json:"acdAutoAnswer"`
|
||||
}
|
||||
|
||||
func (GCUser) TableName() string {
|
||||
return "gc_users"
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ type DBParticipant struct {
|
||||
WrapupRequired *bool
|
||||
|
||||
Sessions []DBSession `gorm:"foreignKey:ParticipantId;references:Id"`
|
||||
Calls []DBCall `gorm:"foreignKey:ParticipantId;referencesId`
|
||||
Calls []DBCall `gorm:"foreignKey:ParticipantId;references:Id`
|
||||
User GCUser `gorm:"foreignKey:UserId;references:Id`
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user