From d16ceac14914138d83ab3c6e8ef63c39fc758f7c Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 31 Aug 2022 00:54:02 +0800 Subject: [PATCH] cms --- pkg/common/db/model_struct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/model_struct.go b/pkg/common/db/model_struct.go index 7023996d7..ce52a0e70 100644 --- a/pkg/common/db/model_struct.go +++ b/pkg/common/db/model_struct.go @@ -235,7 +235,7 @@ type ChatLog struct { SessionType int32 `gorm:"column:session_type;index:session_type" json:"sessionType"` MsgFrom int32 `gorm:"column:msg_from" json:"msgFrom"` ContentType int32 `gorm:"column:content_type;index:content_type" json:"contentType"` - Content string `gorm:"column:content;type:varchar(3000);index:search" json:"content"` + Content string `gorm:"column:content;type:varchar(3000)" json:"content"` Status int32 `gorm:"column:status" json:"status"` SendTime time.Time `gorm:"column:send_time;index:sendTime" json:"sendTime"` CreateTime time.Time `gorm:"column:create_time" json:"createTime"`