From 5447f27c80ccd6bec3c134d48a203394407aee2f Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 9 Mar 2023 15:47:00 +0800 Subject: [PATCH] script --- pkg/common/db/table/relation/chatlog.go | 2 -- 1 file changed, 2 deletions(-) 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 {