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

Migration not able to complete, relation "yaml_histor_ownerid_74e79b_idx" does not exist #590

Open
demarsdouglas opened this issue May 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Low Low Priority Issues (to be fixed or re-evaluated in 12 months wontfix This will not be worked on

Comments

@demarsdouglas
Copy link

We're hosting the docker.io/codecov/self-hosted-api container and we're not able to get past django.db.utils.ProgrammingError: relation "yaml_histor_ownerid_74e79b_idx" does not exist when migrations are ran.

I am running python manage.py makemigrations and python manage.py migrate to no avail.

The issue seems to be related to the yaml_histor_ownerid_74e79b_idx index not being created before it is referenced. Running specific migrations in order didn't resolve the issue. I am using Postgres version 14.12, and can confirm we are able to connect to the correct database.

@thomasrockhu-codecov
Copy link
Contributor

@jason-ford-codecov when you get back, do you mind taking a look?

@thomasrockhu-codecov thomasrockhu-codecov added the bug Something isn't working label Jun 11, 2024
@thomasrockhu-codecov thomasrockhu-codecov added wontfix This will not be worked on Low Low Priority Issues (to be fixed or re-evaluated in 12 months labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Low Low Priority Issues (to be fixed or re-evaluated in 12 months wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants