From 75c8dde932886af888c3ada7daeab848d03dfa96 Mon Sep 17 00:00:00 2001 From: Steve White Date: Thu, 17 Oct 2024 09:38:52 -0500 Subject: [PATCH] added email to user database --- db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/db.go b/db.go index 1c32e12..fbe1da3 100644 --- a/db.go +++ b/db.go @@ -27,6 +27,7 @@ type User struct { gorm.Model Username string `json:"username"` Password string `json:"password"` + Email string `json:"email"` } func ConnectDB(dbPath string) (*gorm.DB, error) {