-
Notifications
You must be signed in to change notification settings - Fork 9
Replace session attendance patient session foreign key #4369
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
Merged
thomasleese
merged 1 commit into
next
from
session-attendance-patient-session-foreign-key
Sep 5, 2025
Merged
Replace session attendance patient session foreign key #4369
thomasleese
merged 1 commit into
next
from
session-attendance-patient-session-foreign-key
Sep 5, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
816b3ea
to
3ea3b89
Compare
3ea3b89
to
9bf9b77
Compare
6d90838
to
9a357e9
Compare
9bf9b77
to
28d20ff
Compare
9a357e9
to
a7060f5
Compare
28d20ff
to
1decfc7
Compare
a7060f5
to
dcc2b06
Compare
1decfc7
to
8cd8065
Compare
dcc2b06
to
2de8f31
Compare
fc9999e
to
2204f0a
Compare
2de8f31
to
758a18e
Compare
5ed15cc
to
a31eaeb
Compare
758a18e
to
9bb24b1
Compare
a31eaeb
to
13808af
Compare
9bb24b1
to
fc20fe8
Compare
13808af
to
0b2d95e
Compare
fc20fe8
to
88d2b1a
Compare
ee09bce
to
e6072bb
Compare
88d2b1a
to
ae58634
Compare
8230b95
to
a7ca0ce
Compare
ae58634
to
a4e1ce9
Compare
Base automatically changed from
pre-screening-patient-session-foreign-key
to
next
August 29, 2025 15:02
f3ac393
to
ea672a4
Compare
jhenderson
reviewed
Sep 4, 2025
db/migrate/20250821135954_remove_patient_session_from_session_attendances.rb
Outdated
Show resolved
Hide resolved
jhenderson
approved these changes
Sep 4, 2025
97ec054
to
805bacc
Compare
This replaces the foreign key association between session attendances and patient sessions to instead link directly to the patient. This is needed as we eventually want to replace the PatientSession model and to do that we need to make sure all foreign keys to it have been replaced. The functionality should be the same before and after. Jira-Issue: MAV-1820
805bacc
to
7539761
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This replaces the foreign key association between session attendances and patient sessions to instead link directly to the patient. This is needed as we eventually want to replace the PatientSession model and to do that we need to make sure all foreign keys to it have been replaced.
The functionality should be the same before and after.
Jira Issue - MAV-1820