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

chore: finish drop columns migrations #5280

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

joeyorlando
Copy link
Contributor

What this PR does

Second, and final part of, #5277

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • Added the relevant release notes label (see labels prefixed w/ release:). These labels dictate how your PR will
    show up in the autogenerated release notes.

@joeyorlando joeyorlando added pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes labels Nov 20, 2024
@joeyorlando joeyorlando requested a review from a team as a code owner November 20, 2024 23:06
Copy link
Contributor Author

@joeyorlando joeyorlando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as to why the usage of linter.IgnoreMigration(), per the django-migration-liner docs (see bold portion):

Deprecate the column before dropping it using django-deprecate-fields. This process requires to first make sure that the field is unused (for which django-deprecate-fields is made for). Once the column is unsed, drop it in a migration. This migration will require to be ignored through the IgnoreMigration for instance.

@joeyorlando joeyorlando merged commit 7a0786e into dev Nov 21, 2024
26 checks passed
@joeyorlando joeyorlando deleted the jorlando/finish-drop-column-migrations branch November 21, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant