From 7fa2a0b6079a8ff4c626a50356c6b08539518572 Mon Sep 17 00:00:00 2001 From: Lynn Date: Thu, 9 Jul 2026 14:44:08 +0800 Subject: [PATCH] Fix: rm role_id in user.go (#16771) --- internal/entity/user.go | 1 - 1 file changed, 1 deletion(-) 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 }