diff --git a/models/participant.go b/models/participant.go index 03318c9..279e4e0 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;referencesId` + Calls []DBCall `gorm:"foreignKey:ParticipantId;references:Id` User GCUser `gorm:"foreignKey:UserId;references:Id` }