From 8e45e3ae292e0dfb189648d11651ce3812af081e Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Sat, 3 May 2025 12:14:48 +0800 Subject: [PATCH] =?UTF-8?q?ai=E6=97=A5=E5=BF=97=E8=AE=B0=E5=BD=95model=5Fi?= =?UTF-8?q?d=E7=9A=84=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dao/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/msg.go b/dao/msg.go index bd6cc86..3fa183c 100644 --- a/dao/msg.go +++ b/dao/msg.go @@ -8,7 +8,7 @@ import ( type AIStreamMsg struct { gorm.Model Type string `gorm:"column:type"` - ModelID uint `gorm:"column:model_id index:idx_model_id"` + ModelID uint `gorm:"column:model_id"` UserID int `gorm:"column:user_id"` //用户id SessionID int `gorm:"column:session_id"` //会话id MSG string `gorm:"column:msg"` //消息内容