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

Align Postgres tables/indexes/constraints with Django #1697

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

jjnesbitt
Copy link
Member

While working on a separate PR, I encountered an error when trying to update a constraint on the ZarrArchive model, which led me to realize that there was a mismatch between what Django thinks the name of these constraints are, and what they actually are in Postgres. It appears the renaming of these constraints slipped through the cracks in #1256, specifically the *-consistent-checksum-status and *-unique-name constraints.

This PR aligns those names with reality in Postgres, as well as renames the tables and all other indexes/constraints, to be consistent with what we expect.

@jjnesbitt jjnesbitt added patch Increment the patch version when merged release Create a release when this pr is merged labels Oct 12, 2023
@jjnesbitt jjnesbitt merged commit 29b4962 into master Oct 12, 2023
10 checks passed
@jjnesbitt jjnesbitt deleted the zarr-rename-fix branch October 12, 2023 15:30
@dandibot
Copy link
Member

🚀 PR was released in v0.3.56 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants