This commit is contained in:
wangchuxiao 2022-08-31 00:54:02 +08:00
parent c2831e6676
commit d16ceac149

View File

@ -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"`