From 75d9c7f46e1a742a570a1f11dd621d05ef174302 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 13 Feb 2024 19:06:04 -0500 Subject: [PATCH] feat: add first and last name to user model --- db/models/user.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/models/user.go b/db/models/user.go index ea5c0c1..125f79c 100644 --- a/db/models/user.go +++ b/db/models/user.go @@ -7,6 +7,8 @@ import ( type User struct { gorm.Model + FirstName string + LastName string Email string `gorm:"unique"` PasswordHash string Role string