Compare commits

..

2 Commits

Author SHA1 Message Date
567470372f askilhdfjasdgf 2025-10-23 16:59:06 +11:00
674f7dd5f5 asdnfujklsreghyiujlfhhsdrlgkif 2025-10-23 16:55:59 +11:00
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ type UsersQuery struct {
} }
type GCUser struct { type GCUser struct {
Id string `json:"id" gorm:"primaryKey;foreignKey"` Id string `json:"id" gorm:"primaryKey"`
Name string `json:"name"` Name string `json:"name"`
Email string `json:"email"` Email string `json:"email"`
State string `json:"state"` State string `json:"state"`

View File

@@ -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 {