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
remove news.featured property #3380
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this field still used anywhere in the code? If yes, that's when you will get 5xx. If you already cleaned up the code, make sure it's already deployed before merging this one.
If you have doubts, you can checks the docs I wrote about migrations here: https://github.com/mozilla/foundation.mozilla.org/blob/master/docs/workflow.md#django-migrations-what-to-do-when-working-on-backward-incompatible-migrations
Yeah, I'm pretty sure we're not using it anywhere anymore, which is why I'm hopeful it won't be a problem this time round anymore. But that template update was a great idea! |
Closes #3379
Related PRs/issues #721, #3296
The last time we landed this we ran into a caching/desync issue where the old code was using the updated db and things crashed because the old code was trying to load a column that the new db didn't have anymore...
I don't know if that's still going to be the case, but last time we discovered that rather than rolling back the code change, we could have waited 2 minutes for things to sync back up, so.... maybe we'll have to do this again when we deploy?