feat: add first and last name to user model
This commit is contained in:
parent
78accd1f02
commit
75d9c7f46e
|
@ -7,6 +7,8 @@ import (
|
|||
|
||||
type User struct {
|
||||
gorm.Model
|
||||
FirstName string
|
||||
LastName string
|
||||
Email string `gorm:"unique"`
|
||||
PasswordHash string
|
||||
Role string
|
||||
|
|
Loading…
Reference in New Issue