backend changed verification model
This commit is contained in:
@@ -5,9 +5,9 @@ import "time"
|
||||
type Verification struct {
|
||||
UpdatedAt time.Time
|
||||
CreatedAt time.Time
|
||||
EmailVerifiedAt *time.Time `gorm:"Default:NULL" json:"email_verified_at"`
|
||||
IDVerifiedAt *time.Time `gorm:"Default:NULL" json:"id_verified_at"`
|
||||
VerifiedAt *time.Time `gorm:"Default:NULL" json:"verified_at"`
|
||||
VerificationToken string `json:"token"`
|
||||
ID uint `gorm:"primaryKey"`
|
||||
UserID uint `gorm:"unique;" json:"user_id"`
|
||||
Type string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user