From 7c4a97776c65de8c23c79156eff87a37671b566e Mon Sep 17 00:00:00 2001 From: Arthur Morrow Date: Fri, 8 Nov 2024 10:24:29 -0500 Subject: [PATCH] Revert "fix compound index on offices collection" --- ops/cloud-deployment/lib/cosmos/mongo/cosmos-collections.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/cloud-deployment/lib/cosmos/mongo/cosmos-collections.bicep b/ops/cloud-deployment/lib/cosmos/mongo/cosmos-collections.bicep index e174d6a758..f726b997db 100644 --- a/ops/cloud-deployment/lib/cosmos/mongo/cosmos-collections.bicep +++ b/ops/cloud-deployment/lib/cosmos/mongo/cosmos-collections.bicep @@ -119,7 +119,7 @@ resource officesCollection 'Microsoft.DocumentDB/databaseAccounts/mongodbDatabas key: { keys: [ 'officeCode' - 'id' + 'userId' ] } options: {