-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
There was a problem hiding this 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.
8bc0f37
to
dbdce76
Compare
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). |
dbdce76
to
f85b898
Compare
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.
f85b898
to
e0a538d
Compare
Quality Gate passedIssues Measures |
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.