Skip to content

Validate new Patient foreign key relationships#6640

Open
alistair-white-horne-tng wants to merge 1 commit intoalistair/patient-cascade-on-deletefrom
alistair/patient-cascade-on-delete-validate
Open

Validate new Patient foreign key relationships#6640
alistair-white-horne-tng wants to merge 1 commit intoalistair/patient-cascade-on-deletefrom
alistair/patient-cascade-on-delete-validate

Conversation

@alistair-white-horne-tng
Copy link
Copy Markdown
Contributor

@alistair-white-horne-tng alistair-white-horne-tng commented Apr 20, 2026

Must be in the release after #6638

After adding "cascade on delete" to these Patient FK relationships, we need to validate them.

We can't do this as part of the same migration because it's likely to cause a long table lock, which is unacceptable in production. Hence, this needs to be included in the subsequent release.

MAV-7065

@alistair-white-horne-tng alistair-white-horne-tng added this to the v8.2.0 milestone Apr 20, 2026
@alistair-white-horne-tng alistair-white-horne-tng requested a review from a team as a code owner April 20, 2026 12:34
@alistair-white-horne-tng alistair-white-horne-tng force-pushed the alistair/patient-cascade-on-delete branch from 3e5d523 to 7105c17 Compare April 20, 2026 13:56
@alistair-white-horne-tng alistair-white-horne-tng force-pushed the alistair/patient-cascade-on-delete-validate branch 3 times, most recently from 0817678 to 799a530 Compare April 20, 2026 14:59
@alistair-white-horne-tng alistair-white-horne-tng force-pushed the alistair/patient-cascade-on-delete branch from 7105c17 to 4088257 Compare April 20, 2026 14:59
@alistair-white-horne-tng alistair-white-horne-tng force-pushed the alistair/patient-cascade-on-delete branch from 4088257 to 3243141 Compare April 20, 2026 16:27
@alistair-white-horne-tng alistair-white-horne-tng force-pushed the alistair/patient-cascade-on-delete-validate branch from 799a530 to 0bafd56 Compare April 20, 2026 16:27
@alistair-white-horne-tng alistair-white-horne-tng force-pushed the alistair/patient-cascade-on-delete branch 4 times, most recently from afe7139 to fd7c15e Compare April 21, 2026 15:48
After adding "cascade on delete" to these `Patient`
FK relationships, we need to validate them.

We can't do this as part of the same migration because it's likely to
cause a long table lock, which is unacceptable in production. Hence,
this needs to be included in the subsequent release.

Jira-Issue: MAV-7065
@alistair-white-horne-tng alistair-white-horne-tng force-pushed the alistair/patient-cascade-on-delete-validate branch from 0bafd56 to 06e3450 Compare April 21, 2026 15:49
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