Skip to content

Commit

Permalink
ITSASU-2641 - Stop automatic replacement of indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRimmerHMRC committed Oct 13, 2023
1 parent f07daea commit 301bd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/repositories/SubscriptionDataRepository.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class SubscriptionDataRepository @Inject()(config: SubscriptionDataRepositoryCon
mongoComponent = config.mongoComponent,
domainFormat = implicitly[Format[JsObject]],
indexes = config.indexes,
replaceIndexes = true
replaceIndexes = false
) {

private val findOneAndUpdateOptions: FindOneAndUpdateOptions = new FindOneAndUpdateOptions().upsert(true)
Expand Down

0 comments on commit 301bd7f

Please sign in to comment.