diff --git a/models/participant.go b/models/participant.go index 279e4e0..da8c4b1 100644 --- a/models/participant.go +++ b/models/participant.go @@ -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;references:Id"` User GCUser `gorm:"foreignKey:UserId;references:Id` }