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

event: add location #78

Merged
merged 4 commits into from Sep 1, 2023
Merged

event: add location #78

merged 4 commits into from Sep 1, 2023

Conversation

Joe2k
Copy link
Contributor

@Joe2k Joe2k commented Aug 30, 2023

For better visibility of tournaments. Also I'm gonna keep the events table as the base to build the tournament stuff on. So location will be very useful then

Copy link
Member

@punchagan punchagan left a comment

Choose a reason for hiding this comment

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

Yes, I copied over only basic information from UC so that we can add more stuff, as and when we need it. Left a couple of comments.

punchagan and others added 4 commits September 1, 2023 17:42
Previously, we used get_or_create and iterated over a loop of the tournaments
fetched from Ultimate Central. In this commit we switch over to using a bulk
create, which would make the save more efficient, and also make sure that any
updates from UC are updated in our database.
@punchagan punchagan merged commit f523273 into main Sep 1, 2023
5 checks passed
@punchagan
Copy link
Member

Merged after adding a preparatory commit to fix how we create/update events in the DB, and splitting your commits into atomic ones, @Joe2k ! Thanks! 🎉

@punchagan punchagan deleted the tournament-location branch September 1, 2023 12:33
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.

None yet

2 participants