feat: add first and last name to user model

This commit is contained in:
Derrick Hammer 2024-02-13 19:06:04 -05:00
parent 78accd1f02
commit 75d9c7f46e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import (
type User struct {
gorm.Model
FirstName string
LastName string
Email string `gorm:"unique"`
PasswordHash string
Role string