diff --git a/pkg/common/db/table/relation/chatlog.go b/pkg/common/db/table/relation/chatlog.go index dcf39aca5..5d04edbe9 100644 --- a/pkg/common/db/table/relation/chatlog.go +++ b/pkg/common/db/table/relation/chatlog.go @@ -1,7 +1,6 @@ package relation import ( - "gorm.io/gorm" "time" pbMsg "OpenIM/pkg/proto/msg" @@ -27,7 +26,6 @@ type ChatLogModel struct { SendTime time.Time `gorm:"column:send_time;index:sendTime;index:content_type,priority:1;index:session_type,priority:1;index:recv_id,priority:1;index:send_id,priority:1" json:"sendTime"` CreateTime time.Time `gorm:"column:create_time" json:"createTime"` Ex string `gorm:"column:ex;type:varchar(1024)" json:"ex"` - DB *gorm.DB } func (ChatLogModel) TableName() string {