pull/351/head
wangchuxiao 2 years ago
parent a4767bc7e3
commit 42f7af3d52

@ -237,7 +237,7 @@ type ChatLog struct {
ContentType int32 `gorm:"column:content_type;index:search" json:"contentType"` ContentType int32 `gorm:"column:content_type;index:search" json:"contentType"`
Content string `gorm:"column:content;type:varchar(3000);index:search" json:"content"` Content string `gorm:"column:content;type:varchar(3000);index:search" json:"content"`
Status int32 `gorm:"column:status" json:"status"` Status int32 `gorm:"column:status" json:"status"`
SendTime time.Time `gorm:"column:send_time;;index:search" json:"sendTime"` SendTime time.Time `gorm:"column:send_time;index:search;priority:1" json:"sendTime"`
CreateTime time.Time `gorm:"column:create_time" json:"createTime"` CreateTime time.Time `gorm:"column:create_time" json:"createTime"`
Ex string `gorm:"column:ex;type:varchar(1024)" json:"ex"` Ex string `gorm:"column:ex;type:varchar(1024)" json:"ex"`
} }

Loading…
Cancel
Save