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

Remove unnecessary user field from geotag #1820

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alastair
Copy link
Member

Issue(s)
Fixes #1036

Description
The geotag.user field just replicated the same value that was in sound.user, no need to keep it.

Looking at this further, we should probably denormalise the table properly. This means that instead of having sound.geotag, we have geotag.sound. Django's ORM should take care of the queries exactly the same here, but it means that we can get rid of the geotag column, which is mostly filled with nulls. I'll take a look at adding this change on to this PR.

Deployment steps:
Includes migration

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.

Remove GeoTag.user
1 participant