Compare commits
No commits in common. "57b4791a4a816a9233da2b28d3e28433413049ae" and "2f2388caabf1bc2944e26d3577aa0600d074a7b1" have entirely different histories.
57b4791a4a
...
2f2388caab
@ -199,7 +199,3 @@ type GCUser struct {
|
|||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
AcdAutoAnswer bool `json:"acdAutoAnswer"`
|
AcdAutoAnswer bool `json:"acdAutoAnswer"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (GCUser) TableName() string {
|
|
||||||
return "gc_users"
|
|
||||||
}
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ type DBParticipant struct {
|
|||||||
WrapupRequired *bool
|
WrapupRequired *bool
|
||||||
|
|
||||||
Sessions []DBSession `gorm:"foreignKey:ParticipantId;references:Id"`
|
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`
|
User GCUser `gorm:"foreignKey:UserId;references:Id`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user