diff --git a/internal/entity/user.go b/internal/entity/user.go index 4a421419c..d30246c0a 100644 --- a/internal/entity/user.go +++ b/internal/entity/user.go @@ -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 }