🌟 fix: Add Composite Indexes to Agent Categories for CosmosDB Compatibility (#9430)

This commit is contained in:
Michael Forman 2025-09-03 07:16:18 +01:00 committed by GitHub
parent 195e1e9eb2
commit f9b12517b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,5 +42,6 @@ const agentCategorySchema = new Schema<IAgentCategory>(
);
agentCategorySchema.index({ isActive: 1, order: 1 });
agentCategorySchema.index({ order: 1, label: 1 });
export default agentCategorySchema;