diff --git a/backend/models/user.go b/backend/models/user.go index 76ae7f3..d1d7607 100644 --- a/backend/models/user.go +++ b/backend/models/user.go @@ -4,7 +4,6 @@ import "gorm.io/gorm" type User struct { gorm.Model // includes ID, CreatedAt, UpdatedAt, DeletedAt - Name string `gorm:"uniqueIndex"` - Email string `gorm:"uniqueIndex"` - Password string + Username string `gorm:"uniqueIndex"` + Password []byte }