Skip to content

Try checking if table already exists and no-op if it does for addons#382

Merged
duckduckgrayduck merged 1 commit intostagingfrom
django_5_upgrade
Apr 21, 2026
Merged

Try checking if table already exists and no-op if it does for addons#382
duckduckgrayduck merged 1 commit intostagingfrom
django_5_upgrade

Conversation

@duckduckgrayduck
Copy link
Copy Markdown
Contributor

To fix tests, I had to squash some migrations for the CIText fields and also fix circular migrations. This means the the 13th migration has to run on fresh databases like tests, but fails on staging and production because the table already exists. This will try to check if the table already exists and if it does, no-op it

@duckduckgrayduck duckduckgrayduck merged commit 98e65d1 into staging Apr 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant