Skip to content

Commit

Permalink
Merge pull request #257 from hmrc/ITSASU-2641
Browse files Browse the repository at this point in the history
ITSASU-2641 - Stop automatic replacement of indexes
  • Loading branch information
MandeepSanghaHMRC authored Oct 13, 2023
2 parents f07daea + 301bd7f commit d6e9b47
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 d6e9b47

Please sign in to comment.