mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-29 18:33:43 +08:00
Make user avatar field nullable.
This commit is contained in:
parent
4997c10b97
commit
313b2af6cf
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ type User struct {
|
||||||
Name string `db:"name" json:"name"`
|
Name string `db:"name" json:"name"`
|
||||||
Type string `db:"type" json:"type"`
|
Type string `db:"type" json:"type"`
|
||||||
Status string `db:"status" json:"status"`
|
Status string `db:"status" json:"status"`
|
||||||
Avatar string `db:"-" json:"avatar"`
|
Avatar null.String `db:"-" json:"avatar"`
|
||||||
Permissions map[string]struct{} `db:"-" json:"-"`
|
Permissions map[string]struct{} `db:"-" json:"-"`
|
||||||
LoggedInAt null.Time `db:"loggedin_at" json:"loggedin_at"`
|
LoggedInAt null.Time `db:"loggedin_at" json:"loggedin_at"`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue