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

Create TeamProgramme #1857

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Create TeamProgramme #1857

merged 2 commits into from
Sep 27, 2024

Conversation

thomasleese
Copy link
Contributor

This adds a new model for representing the relationship between teams and programmes. We're going to change programmes to be global (to make it easier to compare vaccination records between different teams) so we need a join table to link programmes with teams.

The follow up work will be to remove the team_id column from programmes and use this join table instead.

@thomasleese
Copy link
Contributor Author

It looks like we might not need this for the moment as we haven't come across any examples of a team not administering a programme, I'll leave it open for the time being while I work on making programmes global and see if a need arises.

This adds a new model for representing the relationship between teams
and programmes. We're going to change programmes to be global (to make
it easier to compare vaccination records between different teams) so we
need a join table to link programmes with teams.

The follow up work will be to remove the `team_id` column from
programmes and use this join table instead.
We're going to changing programmes to remove the relationship to teams
so we need to update the Rake task to support this.
@tvararu tvararu temporarily deployed to mavis-pr-1857 September 27, 2024 09:43 Inactive
Copy link

sonarcloud bot commented Sep 27, 2024

@thomasleese thomasleese merged commit 0fa8e55 into main Sep 27, 2024
12 checks passed
@thomasleese thomasleese deleted the team-programmes branch September 27, 2024 10:00
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.

2 participants