added email to user database

This commit is contained in:
Steve White 2024-10-17 09:38:52 -05:00
parent 6660c1e3b3
commit 75c8dde932
1 changed files with 1 additions and 0 deletions

1
db.go
View File

@ -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) {