Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip django migration that was used for couch-to-sql migration on fresh installs #35243

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

AmitPhulera
Copy link
Contributor

@AmitPhulera AmitPhulera commented Oct 22, 2024

On fresh install we were getting error that django.utils.connection.ConnectionDoesNotExist: The connection 'commcarehq_repeaters' doesn't exist. It makes sense, the things that migration was doing were related to repeat records couch to sql migration. And we don't need to run it on fresh installs

Product Description

Technical Summary

Feature Flag

Safety Assurance

Safety story

Should not affect any env except the ones which are newly installing commcare.

Automated test coverage

QA Plan

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

on fresh install we were getting error that django.utils.connection.ConnectionDoesNotExist: The connection 'commcarehq_repeaters' doesn't exist. It makes sense, the things that migration was doing were related to repeat records couch to sql migration. And we don't need to run it on fresh installs
@AmitPhulera AmitPhulera requested a review from millerdev October 22, 2024 07:39
@dimagimon dimagimon added the reindex/migration Reindex or migration will be required during or before deploy label Oct 22, 2024
@AmitPhulera AmitPhulera merged commit 8b3824b into master Oct 22, 2024
13 checks passed
@AmitPhulera AmitPhulera deleted the ap/skip-repeater-migration-on-fresh-install branch October 22, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reindex/migration Reindex or migration will be required during or before deploy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants