From 58bfcc1066cf76f55f0fd76b3bd1846997eec761 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Sat, 3 May 2025 00:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E6=B6=88=E6=81=AF=E6=95=B0=E9=87=8F,=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E6=8D=AE?= 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 f87cca9..bd6cc86 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_covering,unique"` + ModelID uint `gorm:"column:model_id index:idx_model_id"` UserID int `gorm:"column:user_id"` //用户id SessionID int `gorm:"column:session_id"` //会话id MSG string `gorm:"column:msg"` //消息内容