mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 07:31:19 +00:00
fix: index (#5458)
* doc * fix: home app name * fix: char init error status * fix: index * fix: secret input
This commit is contained in:
@@ -89,7 +89,10 @@ const ChatSchema = new Schema({
|
||||
});
|
||||
|
||||
try {
|
||||
ChatSchema.index({ initCharts: 1 });
|
||||
// Tmp
|
||||
ChatSchema.index({ initStatistics: 1 });
|
||||
ChatSchema.index({ appId: 1, tmbId: 1, outLinkUid: 1 });
|
||||
|
||||
ChatSchema.index({ chatId: 1 });
|
||||
// get user history
|
||||
ChatSchema.index({ tmbId: 1, appId: 1, top: -1, updateTime: -1 });
|
||||
|
Reference in New Issue
Block a user