feat: Refactor User entity and datasource to use email and password hashing with salt
This commit is contained in:
@@ -13,8 +13,9 @@ type UserDBO struct {
|
||||
CreatedAt time.Time `gorm:"not null"`
|
||||
UpdatedAt time.Time `gorm:"not null"`
|
||||
LastEditorID ulid.ULID
|
||||
Username string
|
||||
Password string
|
||||
Email string
|
||||
PasswordHash string
|
||||
Salt string
|
||||
Role string
|
||||
CompanyID int
|
||||
HourlyRate float64
|
||||
|
||||
Reference in New Issue
Block a user