We will soon be merging a migration that will cause the subsequent deploy to take longer than usual. This will probably take around a minute or two for every 10,000 users on your environment.
To keep your deploy duration shorter, you can choose run this migration now or at any time prior to the deploy. Note that this is optional, as it will be run automatically during your deploy if not run prior.
Please follow the below instructions
If you have deployed since June 28th:
$ update-code
$ cchq <env> django-manage rm_couch_user_data
If you haven't deployed since June 28th:
$ update-code
$ cchq <env> deploy commcare --private
# This will output something like:
# Your private release is located here:
# /home/cchq/www/staging/releases/2024-07-16_21.14
# paste that timestamp into the command below:
$ cchq <env> django-manage rm_couch_user_data --release 2024-07-16_21.14