We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25189cf + e8b1f17 commit d4bcb8eCopy full SHA for d4bcb8e
internal/domain/credential.go
@@ -101,7 +101,7 @@ type Verifier struct {
101
ID int64 `json:"id" bson:"_id,omitempty" gorm:"primaryKey;autoIncrement"`
102
TenantID TenantID `json:"tenantId" bson:"tenant_id" gorm:"index;not null;default:'default'"`
103
Name string `json:"name" bson:"name" gorm:"not null"`
104
- URL string `json:"url" bson:"url" gorm:"not null"`
+ URL string `json:"url" bson:"url" gorm:"index;not null"`
105
}
106
107
// TableName specifies the table name for GORM
0 commit comments