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 {
|
type User struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
|
FirstName string
|
||||||
|
LastName string
|
||||||
Email string `gorm:"unique"`
|
Email string `gorm:"unique"`
|
||||||
PasswordHash string
|
PasswordHash string
|
||||||
Role string
|
Role string
|
||||||
|
|
Loading…
Reference in New Issue