diff --git a/libs/dal/src/repositories/tenant/tenant.schema.ts b/libs/dal/src/repositories/tenant/tenant.schema.ts index a1c8f9a118e..c43f7826c13 100644 --- a/libs/dal/src/repositories/tenant/tenant.schema.ts +++ b/libs/dal/src/repositories/tenant/tenant.schema.ts @@ -56,8 +56,8 @@ tenantSchema.index({ */ tenantSchema.index( { - identifier: 1, _environmentId: 1, + identifier: 1, }, { unique: true } );