Switch from index_together to Meta.Indexes for ReviewRequestVisit.

Review Request #14591 — Created Sept. 4, 2025 and submitted

Information

Review Board
master

Reviewers

index_together is deprecated and will be removed in Django 5.1. This
evolution changes ReviewRequestVisit to use Meta.indexes instead.

Ran evolution.

Summary ID
Switch from index_together to Meta.Indexes for ReviewRequestVisit.
`index_together` is deprecated and will be removed in Django 5.1. This evolution changes ReviewRequestVisit to use `Meta.indexes` instead. Testing Done: Ran evolution.
uorlrvzwzousmslrrmsqrtnotsxnztxt
Description From Last Updated

Upgrades will also need to be tried on MySQL and Postgres.

chipx86chipx86
chipx86
  1. 
      
  2. Show all issues

    Upgrades will also need to be tried on MySQL and Postgres.

    1. That's a lot of infrastructure to set up. Isn't this why django-evolution has a huge test suite?

    2. It is, but I just wanted to check because this would be the first evolution doing this in our codebase.

      I can do the test if you want, but you'll need to remind me. This shoud be easy with the Docker images.

  3. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.1.x (a288d8d)