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

Attach vaccines to programmes directly #1866

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

thomasleese
Copy link
Contributor

This adds a programme column to vaccines, to change the relationship between programmes and vaccines to be one to many rather than many to many.

Copy link
Member

@tvararu tvararu left a comment

Choose a reason for hiding this comment

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

Can you also update lib/tasks/add_health_questions.rake?

This adds a programme column to vaccines, to change the relationship
between programmes and vaccines to be one to many rather than many to
many.
@thomasleese
Copy link
Contributor Author

Can you also update lib/tasks/add_health_questions.rake?

Done, it takes a programme type now instead of a team ID (this might need to change if we decide health questions need to be specific to teams in the future).

Now that vaccines can only belong to one programme we can simplify the
vaccines and their creation, and we don't need a task to create
programmes.
@tvararu tvararu temporarily deployed to mavis-pr-1866 September 27, 2024 15:42 Inactive
Copy link

sonarcloud bot commented Sep 27, 2024

@thomasleese thomasleese enabled auto-merge (rebase) September 27, 2024 15:42
@thomasleese thomasleese merged commit 2fc51ff into main Sep 27, 2024
12 checks passed
@thomasleese thomasleese deleted the attach-vaccines-to-programmes branch September 27, 2024 15:46
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