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

[Rec-IM] Halls/Affiliations #987

Merged
merged 27 commits into from
Jul 24, 2023
Merged

[Rec-IM] Halls/Affiliations #987

merged 27 commits into from
Jul 24, 2023

Conversation

amos-cha
Copy link
Contributor

new Term: Affiliations.
This term pertains to all Halls/Clubs Team affiliations that can have points attributed to.

Database Changes

Team

  • (nullable) Affiliation

Series

  • WinnerID (teamID: nullable)
  • Points (points for winning this series)

new Affliation

  • Lookup Table only has name (just to retain db sanitization)

new AffiliationPoints
compound key: AffiliationName, TeamID, SeriesID

  • AffiliationName (fk Affliation)
  • TeamID (fk Team)
  • SeriesID (fk Series)
  • Points (default 0)

new view SeriesTeamView

  • SeriesTeam but with calculated SportsmanshipRating

API Changes:

  • Updating a Series to completed or back to anything from completed will cause the Series to select its own winner based on WinCount => SportsmanshipRating
  • New Routes

@amos-cha amos-cha self-assigned this Jul 24, 2023
@amos-cha
Copy link
Contributor Author

Note: EFPT Changes their own protocol for managing filtering schemas. This has resulted in the defaulting of the dbo schema which is why we have 70 files changed.

@amos-cha amos-cha merged commit f752159 into recim Jul 24, 2023
3 checks passed
@amos-cha amos-cha deleted the recim-halls branch July 24, 2023 19:04
This was referenced Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant