Skip to content

Commit

Permalink
🚜 refactor: Change password request name.
Browse files Browse the repository at this point in the history
  • Loading branch information
taiseidev committed Nov 23, 2024
1 parent 560fa8c commit cd6affb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/internal/user/model/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type User struct {
ID uint `gorm:"primaryKey;autoIncrement"`
Name string `gorm:"size:255" json:"name" validate:"required,min=2,max=100"`
Email string `gorm:"uniqueIndex;size:100" json:"email" validate:"required,email"`
Password string `gorm:"column:password_hash;size:255" json:"-" validate:"required,min=8"`
Password string `gorm:"column:password_hash;size:255" json:"password" validate:"required,min=8"`
CreatedAt time.Time `gorm:"autoCreateTime"`
UpdatedAt time.Time `gorm:"autoUpdateTime"`
DeletedAt gorm.DeletedAt `gorm:"index"`
Expand Down

0 comments on commit cd6affb

Please sign in to comment.