removed unique constraint on consents
This commit is contained in:
@@ -7,7 +7,7 @@ type Consent struct {
|
||||
UpdatedAt time.Time
|
||||
FirstName string `gorm:"not null" json:"first_name"`
|
||||
LastName string `gorm:"not null" json:"last_name"`
|
||||
Email string `gorm:"unique" json:"email"`
|
||||
Email string `json:"email"`
|
||||
ConsentType string `gorm:"not null" json:"consent_type"`
|
||||
ID int64 `gorm:"primaryKey"`
|
||||
UserID int64 `gorm:"not null" json:"user_id"`
|
||||
|
||||
Reference in New Issue
Block a user