Made user nullable in participant
This commit is contained in:
1 parent
a7f73eb96a
commit
f50333d223
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user