mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-10 13:45:44 +08:00
Fix: rm role_id in user.go (#16771)
This commit is contained in:
@@ -36,7 +36,6 @@ 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