Made user nullable in participant

This commit is contained in:
Frederick Holland 2025-10-23 16:44:56 +11:00
parent a7f73eb96a
commit f50333d223

View File

@ -24,7 +24,7 @@ type DBParticipant struct {
Sessions []DBSession `gorm:"foreignKey:ParticipantId;references:Id"`
Calls []DBCall `gorm:"foreignKey:ParticipantId;references:Id"`
User GCUser `gorm:"foreignKey:UserId;references:Id`
User *GCUser `gorm:"foreignKey:UserId;references:Id`
}
func (DBParticipant) TableName() string {