refactor: remove username from user
This commit is contained in:
parent
c4f0226d1a
commit
1bbedecad9
|
@ -7,7 +7,6 @@ import (
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
Username string
|
|
||||||
Email string `gorm:"unique"`
|
Email string `gorm:"unique"`
|
||||||
PasswordHash string
|
PasswordHash string
|
||||||
Role string
|
Role string
|
||||||
|
|
Loading…
Reference in New Issue