mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-04 17:27:50 +08:00
Update go cli (#13717)
### What problem does this PR solve? Go cli ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@ -36,6 +36,7 @@ type User struct {
|
||||
LoginChannel *string `gorm:"column:login_channel;index" json:"login_channel,omitempty"`
|
||||
Status *string `gorm:"column:status;size:1;default:1;index" json:"status"`
|
||||
IsSuperuser *bool `gorm:"column:is_superuser;index" json:"is_superuser,omitempty"`
|
||||
RoleID int64 `gorm:"column:role_id;index;default:1;not null;" json:"role_id,omitempty"`
|
||||
BaseModel
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user