diff --git a/doc/release/RELEASE-NOTES.md b/doc/release/RELEASE-NOTES.md index 34866c87a..f5ffe1978 100644 --- a/doc/release/RELEASE-NOTES.md +++ b/doc/release/RELEASE-NOTES.md @@ -39,6 +39,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html * [OSDEV-1089](https://opensupplyhub.atlassian.net/browse/OSDEV-1089) Change format gunicurn logs not pass IP address to AWS CloudWatch. * Removed calling command `clean_facilitylistitems` from the `post_deployment` command. * Added calling command `reindex_database` from the `post_deployment` command. +* Added calling command `index_facilities_new` from the `post_deployment` command. ### Bugfix * [OSDEV-1019](https://opensupplyhub.atlassian.net/browse/OSDEV-1019) - Fixed an error message to 'Your account is not verified. Check your email for a confirmation link.' when a user tries to log in with an uppercase letter in the email address and their account has not been activated through the confirmation link. diff --git a/src/django/api/management/commands/post_deployment.py b/src/django/api/management/commands/post_deployment.py index 829dd4c79..80f60eb68 100644 --- a/src/django/api/management/commands/post_deployment.py +++ b/src/django/api/management/commands/post_deployment.py @@ -9,4 +9,5 @@ class Command(BaseCommand): def handle(self, *args, **options): call_command('migrate') + call_command('index_facilities_new') call_command('reindex_database')