diff --git a/models/gencloud.go b/models/gencloud.go index 568538d..a63a028 100644 --- a/models/gencloud.go +++ b/models/gencloud.go @@ -192,7 +192,7 @@ type UsersQuery struct { } type GCUser struct { - Id string `json:"id" gorm:"primaryKey;foreignKey"` + Id string `json:"id" gorm:"primaryKey"` Name string `json:"name"` Email string `json:"email"` State string `json:"state"`