Made user nullable in participant
This commit is contained in:
parent
a7f73eb96a
commit
f50333d223
@ -24,7 +24,7 @@ type DBParticipant struct {
|
|||||||
|
|
||||||
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;references:Id"`
|
||||||
User GCUser `gorm:"foreignKey:UserId;references:Id`
|
User *GCUser `gorm:"foreignKey:UserId;references:Id`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (DBParticipant) TableName() string {
|
func (DBParticipant) TableName() string {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user