mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
🌟 fix: Add Composite Indexes to Agent Categories for CosmosDB Compatibility (#9430)
This commit is contained in:
parent
195e1e9eb2
commit
f9b12517b0
1 changed files with 1 additions and 0 deletions
|
@ -42,5 +42,6 @@ const agentCategorySchema = new Schema<IAgentCategory>(
|
||||||
);
|
);
|
||||||
|
|
||||||
agentCategorySchema.index({ isActive: 1, order: 1 });
|
agentCategorySchema.index({ isActive: 1, order: 1 });
|
||||||
|
agentCategorySchema.index({ order: 1, label: 1 });
|
||||||
|
|
||||||
export default agentCategorySchema;
|
export default agentCategorySchema;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue